/* Geri Bildirim Modal Stilleri */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.feedback-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.feedback-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.feedback-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 2px solid #f0f0f0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.feedback-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feedback-modal-title i {
    font-size: 1.75rem;
}

.feedback-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.feedback-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.feedback-modal-body {
    padding: 2rem;
}

.feedback-description {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.anonymous-notice {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.anonymous-notice i {
    font-size: 1.5rem;
    color: #dc2626;
    flex-shrink: 0;
}

.optional-badge {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
    font-style: italic;
    padding: 0.25rem 0.5rem;
    background: #f0f0f0;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: #dc2626;
    font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background: #f0f0f0;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-input:disabled:focus {
    border-color: #e0e0e0;
    box-shadow: none;
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    font-weight: 500;
    color: #333;
}

.radio-label:hover {
    border-color: #dc2626;
    background: #fff;
}

.radio-label input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #dc2626;
    outline: none;
    box-shadow: none;
}

.radio-label input[type="radio"]:focus {
    outline: none;
    box-shadow: none;
}

.radio-label input[type="radio"]:focus-visible {
    outline: none;
    box-shadow: none;
}

.radio-label:focus,
.radio-label:focus-visible {
    outline: none;
    box-shadow: none;
}

.radio-label input[type="radio"]:checked + span {
    color: #dc2626;
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.radio-label span {
    flex: 1;
    user-select: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: #e0e0e0;
    color: #666;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.feedback-message-container {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    align-items: start;
    animation: slideDown 0.3s ease;
}

.feedback-message-container.success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
}

.feedback-message-container.error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
}

.feedback-message-icon {
    font-size: 2rem;
}

.feedback-message-container.success .feedback-message-icon {
    color: #155724;
}

.feedback-message-container.error .feedback-message-icon {
    color: #721c24;
}

.feedback-message-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.feedback-message-container.success .feedback-message-text h4 {
    color: #155724;
}

.feedback-message-container.error .feedback-message-text h4 {
    color: #721c24;
}

.feedback-message-text p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Header Navigation Feedback Button */
.nav-link.feedback-btn,
.mobile-nav-link.feedback-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.nav-link.feedback-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-link.feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feedback-modal {
        padding: 0.5rem;
    }

    .feedback-modal-content {
        max-height: 95vh;
        border-radius: 12px;
    }

    .feedback-modal-header {
        padding: 1.5rem;
        border-radius: 12px 12px 0 0;
    }

    .feedback-modal-title {
        font-size: 1.25rem;
    }

    .feedback-modal-body {
        padding: 1.5rem;
    }

    .anonymous-notice {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }

    .anonymous-notice i {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .radio-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .feedback-modal-header {
        padding: 1.25rem;
    }

    .feedback-modal-title {
        font-size: 1.125rem;
    }

    .feedback-modal-title i {
        font-size: 1.5rem;
    }

    .feedback-modal-body {
        padding: 1.25rem;
    }

    .anonymous-notice {
        font-size: 0.8125rem;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .anonymous-notice i {
        font-size: 1.125rem;
    }

    .optional-badge {
        font-size: 0.6875rem;
        padding: 0.2rem 0.4rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    max-width: 500px;
    z-index: 10001;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.toast-success {
    border-left: 4px solid #10b981;
}

.toast-notification.toast-error {
    border-left: 4px solid #dc2626;
}

.toast-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.toast-notification.toast-success .toast-icon {
    color: #10b981;
}

.toast-notification.toast-error .toast-icon {
    color: #dc2626;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a202c;
}

.toast-message {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.toast-close:hover {
    color: #4b5563;
    background: #f3f4f6;
}

/* Mobile Toast Responsive */
@media (max-width: 768px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        padding: 0.875rem 1rem;
    }

    .toast-icon {
        font-size: 1.5rem;
    }

    .toast-title {
        font-size: 0.95rem;
    }

    .toast-message {
        font-size: 0.85rem;
    }

    .toast-close {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .toast-notification {
        padding: 0.75rem 0.875rem;
        gap: 0.75rem;
    }

    .toast-icon {
        font-size: 1.375rem;
    }

    .toast-title {
        font-size: 0.9rem;
    }

    .toast-message {
        font-size: 0.8rem;
    }
}