/* ============================================
   Modern Support Portal Styles
   Glassmorphism, Smooth Animations, Modern UI
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-lighter: #93c5fd;
    --secondary: #059669;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-100: #f3f4f6;
    --bg-primary-light: #eff6ff;
    
    /* Border Colors */
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
}

/* Body & Background */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #eef2ff 100%);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Orbs - Admin Panel Style */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Main gradient overlay */
.background-animation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 1;
}

/* Animated circles */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.orb-1 {
    width: 384px;
    height: 384px;
    background: rgba(59, 130, 246, 0.15);
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.orb-2 {
    width: 384px;
    height: 384px;
    background: rgba(139, 92, 246, 0.15);
    bottom: 25%;
    right: 25%;
    animation-delay: 1s;
}

.orb-3 {
    width: 288px;
    height: 288px;
    background: rgba(99, 102, 241, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
}

/* Additional decorative elements */
.background-animation::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: 2;
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: scale(1.1);
    }
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Modern Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.header-content {
    position: relative;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo-icon {
    width: 120px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
    padding: 0.5rem;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Main Content */
.main-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-xl);
    }
    
    .logo-text h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}

/* Form Progress Steps */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.progress-step.active .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-gray-100);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.progress-step span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-step.active span {
    color: var(--primary);
    font-weight: 600;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.section-icon i {
    color: white;
    font-size: 1.25rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.section-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Form Labels */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-label i {
    color: var(--primary);
    font-size: 0.875rem;
}

.required-star {
    color: var(--danger);
    margin-left: 0.125rem;
}

.optional-badge {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    background: var(--bg-gray-100);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper .form-select {
    appearance: none;
    padding-right: 3rem;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.select-wrapper:focus-within .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

/* Modern Checkbox */
.checkbox-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    transition: all var(--transition-base);
}

.checkbox-modern:hover {
    background: var(--bg-primary-light);
    border-color: var(--primary-light);
}

.checkbox-modern input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-sm);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-base);
    position: relative;
}

.checkbox-modern input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.checkmark i {
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-base);
}

.checkbox-modern input[type="checkbox"]:checked + .checkmark i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.kvkk-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.kvkk-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Modern File Upload */
.file-upload-area {
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--bg-gray-50);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.file-upload-area:hover::before {
    left: 100%;
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: var(--bg-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-upload-area.dragover {
    border-color: var(--primary);
    background: var(--bg-primary-light);
    box-shadow: var(--shadow-glow);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.upload-text {
    margin-bottom: 1rem;
}

.upload-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.upload-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.upload-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.upload-info i {
    color: var(--info);
}

/* File Preview */
.file-preview {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.file-preview-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-gray-100);
    border: 2px solid var(--border-light);
    transition: all var(--transition-base);
}

.file-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray-200);
}

.file-thumb img,
.file-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info {
    padding: 0.75rem;
    background: white;
}

.file-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.remove-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.remove-btn:hover {
    background: var(--danger);
    transform: scale(1.1);
}

/* Submit Button */
.form-actions {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(37, 99, 235, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

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

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn var(--transition-base);
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner-modern {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.spinner-ring {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: white;
    animation: spinnerBounce 1.4s ease-in-out infinite both;
}

.spinner-ring:nth-child(1) { animation-delay: -0.32s; }
.spinner-ring:nth-child(2) { animation-delay: -0.16s; }

@keyframes spinnerBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.loading-text {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Message Overlays */
.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn var(--transition-base);
}

.message-content {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-2xl);
    animation: slideUp 0.3s ease-out;
}

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

.message-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.success-icon {
    background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
    color: white;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.error-icon {
    background: linear-gradient(135deg, var(--danger) 0%, #f87171 100%);
    color: white;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.message-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.message-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tracking-url {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-primary-light);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
}

.tracking-url a {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
    font-size: 0.875rem;
    font-weight: 500;
}

.tracking-url a:hover {
    text-decoration: underline;
}

.btn-close-error {
    padding: 0.75rem 2rem;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-close-error:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-secondary);
    animation: fadeIn 1s ease-out 0.4s both;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-separator {
    color: var(--text-muted);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn var(--transition-base);
}

.modal-container {
    background: white;
    border-radius: var(--radius-2xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.modal-header h3 {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--bg-gray-100);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--bg-gray-200);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-content {
    padding: 2rem;
}

.kvkk-content {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.kvkk-content p {
    margin-bottom: 1.5rem;
}

.kvkk-content p:last-child {
    margin-bottom: 0;
}

.modal-actions {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
}

.btn-modal {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-progress {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-step {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

/* ============================================
   Tracking Page Styles
   ============================================ */

/* Loading Spinner Modern */
.loading-spinner-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

/* Ticket Card Modern */
.ticket-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.ticket-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-light);
}

.ticket-id-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-id-modern i {
    color: var(--primary);
    font-size: 1.25rem;
}

.ticket-status-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
}

.ticket-status-modern.open {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.ticket-status-modern.in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.ticket-status-modern.resolved {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.ticket-status-modern.closed {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
}

.ticket-status-modern i {
    font-size: 0.75rem;
}

/* Detail Grid Modern */
.detail-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.detail-item-modern:hover {
    background: var(--bg-primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1rem;
}

.detail-content {
    flex: 1;
}

.detail-content label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.detail-content span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.priority-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-badge.low {
    background: rgba(107, 114, 128, 0.1);
    color: #4b5563;
}

.priority-badge.medium {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.priority-badge.high {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.priority-badge.urgent {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

/* Ticket Content Modern */
.ticket-content-modern {
    margin-top: 2rem;
}

.content-section-modern {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.section-header-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.section-header-modern i {
    color: var(--primary);
    font-size: 1.125rem;
}

.section-header-modern h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.content-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.message-content-modern {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Messages Section Modern */
.messages-section-modern {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.messages-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.message-item-modern {
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.message-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.message-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.message-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.message-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.message-text-modern {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Rating Section Modern */
.rating-section-modern {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-light);
}

.rating-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.rating-stars-modern {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.rating-star-modern {
    font-size: 2rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.rating-star-modern.selected {
    color: #f59e0b;
}

.rating-comment-modern {
    margin-bottom: 1.5rem;
}

.rating-display-modern {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.rating-stars-display-modern {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.rating-stars-display-modern i {
    font-size: 1.5rem;
    color: var(--gray-300);
}

.rating-stars-display-modern i.active {
    color: #f59e0b;
}

.rating-comment-display-modern {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.rating-comment-display-modern p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rating-date-modern {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* Error Card Modern */
.error-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.error-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.error-icon-modern.info {
    background: linear-gradient(135deg, var(--info) 0%, #60a5fa 100%);
    color: white;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.error-icon-modern.warning {
    background: linear-gradient(135deg, var(--warning) 0%, #fbbf24 100%);
    color: white;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.error-icon-modern.danger {
    background: linear-gradient(135deg, var(--danger) 0%, #f87171 100%);
    color: white;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.error-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.error-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-hints-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.error-hint-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.error-hint-item i {
    color: var(--info);
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.error-hint-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.error-actions-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-actions-modern .btn-submit {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

/* Responsive for Tracking Page */
@media (max-width: 768px) {
    .ticket-card-modern {
        padding: 1.5rem;
    }
    
    .ticket-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .detail-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .error-actions-modern {
        flex-direction: column;
    }
    
    .error-actions-modern .btn-submit {
        width: 100%;
        max-width: 100%;
    }
}
