.feedback-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.feedback-form {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-feedback {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.close-feedback:hover {
    color: #0D150D;
}

.feedback-form h3 {
    margin: 0 0 12px 0;
    color: #0D150D;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.feedback-form p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0D150D;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0D150D;
    box-shadow: 0 0 0 2px rgba(13, 21, 13, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.rating {
    display: flex;
    gap: 12px;
    margin: 12px 0;
    justify-content: center;
}

.star {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

/* Seçili yıldızlar */
.star.active {
    color: #0D150D;
}

/* Hover efekti - sadece hover edilen yıldıza kadar */
.rating:hover .star {
    color: #0D150D;
}

.rating .star:hover ~ .star {
    color: #ddd;
}

.submit-feedback {
    width: 100%;
    padding: 12px;
    background: #0D150D;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-feedback:hover {
    background: #e48a0a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 21, 13, 0.2);
}

.submit-feedback:active {
    transform: translateY(0);
}

/* Product Search Styles */
.product-search {
    position: relative;
    margin-bottom: 16px;
}

.product-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-result {
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-result:hover {
    background-color: rgba(13, 21, 13, 0.05);
}

.product-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-result-name {
    font-weight: 500;
    color: #0D150D;
}

.product-result-category {
    font-size: 12px;
    color: #666;
}

.product-result-price {
    font-size: 12px;
    color: #0D150D;
    font-weight: 500;
}

.no-results {
    padding: 12px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.selected-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13, 21, 13, 0.05);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 8px;
}

.selected-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-product-name {
    font-weight: 500;
    color: #0D150D;
}

.selected-product-category {
    font-size: 12px;
    color: #666;
}

.remove-product {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.remove-product:hover {
    color: #0D150D;
}

/* Mobil cihazlar için responsive tasarım */
@media (max-width: 480px) {
    .feedback-form {
        width: 95%;
        margin: 10px;
        padding: 20px;
    }

    .feedback-form h3 {
        font-size: 18px;
    }

    .star {
        font-size: 24px;
    }
} 