/* Geri Bildirim Sayfası Stilleri */

:root {
    /* Ana Renkler */
    --primary-color: #121B7E;
    --primary-dark: #0d1757;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    
    /* Durum Renkleri */
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    /* Nötr Renkler */
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    --border-color: #e0e0e0;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
}

/* Ana Container */
.feedback-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
}

.feedback-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Loading Screen */
.loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    flex-direction: column;
    gap: 20px;
}

.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(18, 27, 126, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Header */
.feedback-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #f0f0f0;
}

.feedback-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #0d1757);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(18, 27, 126, 0.3);
}

.feedback-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.feedback-subtitle {
    font-size: 16px;
    color: #666;
}

.feedback-role-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0d1757);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 12px;
    border: 1px solid #f5c6cb;
}

.error-message.show {
    display: flex;
}

.error-message i {
    font-size: 20px;
}

/* Form Styles */
.feedback-form {
    display: none;
}

.feedback-form.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    font-size: 22px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-label .required {
    color: #dc3545;
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(18, 27, 126, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-helper {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.radio-option {
    flex: 1;
    min-width: 140px;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.radio-option input[type="radio"]:checked + .radio-label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(18, 27, 126, 0.1), rgba(13, 23, 87, 0.05));
    color: var(--primary-color);
}

.radio-label:hover {
    border-color: var(--primary-color);
    background: rgba(18, 27, 126, 0.05);
}

/* Hidden Field */
.hidden-field {
    display: none;
}

.hidden-field.visible {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Rating System */
.rating-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.rating-item {
    margin-bottom: 20px;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.rating-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.rating-stars {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.rating-row {
    display: contents;
}

.rating-star {
    cursor: pointer;
    font-size: 32px;
    color: #ddd;
    transition: all 0.2s;
    flex-shrink: 0;
}

.rating-star:hover,
.rating-star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-value {
    margin-left: 12px;
    padding: 6px 16px;
    background: white;
    border-radius: 8px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), #0d1757);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 27, 126, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.success-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #0d1757;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 27, 126, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .rating-stars {
        flex-direction: column;
        gap: 12px;
    }
    
    .rating-row {
        display: flex;
        gap: 8px;
        justify-content: flex-start;
        width: 100%;
    }
    
    .rating-star {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .feedback-container {
        padding: 24px;
        border-radius: 16px;
    }

    .feedback-title {
        font-size: 26px;
    }
    
    .feedback-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .rating-star {
        font-size: 24px;
    }

    .radio-group {
        flex-direction: column;
    }

    .radio-option {
        min-width: 100%;
    }
    
    .btn-submit {
        font-size: 16px;
        padding: 16px;
    }
}

@media (max-width: 375px) {
    .feedback-page {
        margin: 40px auto;
        padding: 0 12px;
    }
    
    .feedback-container {
        padding: 20px;
    }
    
    .feedback-title {
        font-size: 22px;
    }
    
    .rating-star {
        font-size: 20px;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .rating-star {
        font-size: 28px;
        padding: 8px;
    }
    
    .radio-label {
        min-height: 48px;
    }
    
    .btn-submit {
        min-height: 50px;
    }
}

