﻿
:root {
    --gold: #2563eb;
    --gold-light: #60a5fa;
    --gold-dark: #1d4ed8;
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f1f5f9;
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

    /* Background Effects */
    body::before {
        content: '';
        position: fixed;
        top: -50%;
        left: 25%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

    body::after {
        content: '';
        position: fixed;
        bottom: -50%;
        right: 25%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
        pointer-events: none;
        z-index: 0;
    }

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

    .logo-icon i {
        font-size: 1.75rem;
        color: white;
    }

.brand-name {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
    font-weight: 700;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Gold Text */
.gold-text {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .section-icon i {
        color: var(--gold);
        font-size: 1.25rem;
    }

/* Form Elements */
.form-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        background-color: #ffffff;
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        color: var(--text-primary);
    }

    .form-control::placeholder {
        color: #94a3b8;
    }

.form-select {
    cursor: pointer;
}

    .form-select option {
        background-color: #ffffff;
        color: var(--text-primary);
    }

/* Radio Cards */
.radio-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
}

    .radio-card:hover {
        border-color: rgba(37, 99, 235, 0.3);
        background: rgba(37, 99, 235, 0.02);
    }

    .radio-card.selected {
        border-color: rgba(37, 99, 235, 0.5);
        background: rgba(37, 99, 235, 0.05);
    }

   /* .radio-card input[type="radio"] {
        display: none;
    }*/
/*    .radio-card input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        margin: 0;
        pointer-events: none;
    }*/

.radio-indicator {
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.radio-card.selected .radio-indicator {
    border-color: var(--gold);
    background: var(--gold);
}

.radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-card.selected .radio-indicator::after {
    opacity: 1;
}

.radio-content h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.radio-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Vehicle Card */
.vehicle-card {
    position: relative;
    overflow: hidden;
}

    .vehicle-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }

.vehicle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.vehicle-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vehicle-number {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .vehicle-number i {
        color: var(--gold);
    }

/* Photo Upload */
.photo-upload {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
   /* overflow: hidden;*/
    background: #ffffff;
}

    .photo-upload:hover {
        border-color: rgba(37, 99, 235, 0.5);
        background: rgba(37, 99, 235, 0.02);
    }

    .photo-upload.has-image {
        padding: 0;
        border-style: solid;
    }

    .photo-upload input[type="file"] {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        cursor: pointer;
    }

    .photo-upload .upload-icon {
        width: 64px;
        height: 64px;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }

        .photo-upload .upload-icon i {
            font-size: 2rem;
            color: var(--gold);
        }

    .photo-upload h6 {
        color: var(--text-primary);
        margin-bottom: 0.5rem;
    }

    .photo-upload p {
        color: var(--text-muted);
        font-size: 0.875rem;
        margin: 0;
    }



.photo-upload.has-image input[type="file"] {
    pointer-events: none;
}


.photo-preview {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
}

.photo-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(220, 53, 69, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .photo-remove:hover {
        background: #dc3545;
        transform: scale(1.1);
    }

    .photo-remove i {
        color: white;
    }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-size: 1.125rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35);
        color: white;
    }

    .btn-gold:active {
        transform: translateY(0);
    }

.btn-secondary-dark {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-secondary-dark:hover {
        background: #f8fafc;
        border-color: var(--gold);
        color: var(--gold);
    }

.btn-danger-dark {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-danger-dark:hover {
        background: rgba(220, 53, 69, 0.2);
        color: #dc3545;
    }

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

/* App Store Links */
.app-store-link img {
    filter: brightness(1);
    transition: all 0.3s ease;
}

.app-store-link:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer p {
    color: var(--text-muted);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-success {
    background: rgba(25, 135, 84, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(25, 135, 84, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}

    .toast-success p {
        color: white;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .btn-gold {
        width: 100%;
    }
}

.jconfirm-box {
    color: black;
}
