/* ABG Vehicle Management Styles */
/* Import centralized color system */
@import url('./abg-colors.css');

/* ========================================
   ABG HOME PAGE STYLES
======================================== */

/* Home Container */
.abg-home-container {
    min-height: 100vh;
    background: var(--abg-gradient-primary);
    padding: 1rem;
}

/* Home Header */
.abg-home-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
}

.abg-home-header .welcome-title {
    color: var(--abg-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.abg-home-header .welcome-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    color: var(--abg-white);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--abg-white);
}

.feature-card h3 {
    color: var(--abg-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Quick Start Section */
.quick-start-section {
    margin-bottom: 4rem;
}

.quick-start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.step-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--abg-white);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.step-content h3 {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.step-link:hover {
    background: linear-gradient(135deg, var(--abg-primary-dark, #1e40af), var(--abg-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
    color: var(--abg-white);
    text-decoration: none;
}

/* Stats Section */
.stats-section {
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--abg-white);
}

.stat-number {
    color: var(--abg-white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Support Section */
.support-section {
    margin-bottom: 2rem;
}

.support-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.support-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.support-icon i {
    font-size: 1.75rem;
    color: var(--abg-white);
}

.support-card h3 {
    color: var(--abg-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.support-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--abg-white);
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.support-link:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    color: var(--abg-white);
    text-decoration: none;
}

/* Animation Delays */
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }
.feature-card:nth-child(5) { transition-delay: 0.4s; }
.feature-card:nth-child(6) { transition-delay: 0.5s; }

.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.4s; }

.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
    .abg-home-container {
        padding: 0.5rem;
    }
    
    .abg-home-header {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .abg-home-header .welcome-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .abg-home-header .welcome-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-start-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card,
    .step-card,
    .support-card {
        padding: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .abg-home-header .welcome-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .step-card,
    .support-card {
        padding: 1rem;
    }
}

/* ========================================
   ABG CUSTOMER INFO STYLES
======================================== */

/* Customer Info Container */
.abg-customer-info-container {
    min-height: 100vh;
    background: var(--abg-gradient-primary);
    padding: 1rem;
}

/* Customer Info Header */
.abg-customer-info-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.abg-customer-info-header .page-title {
    color: var(--abg-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.abg-customer-info-header .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Customer Info Body */
.abg-customer-info-body {
    max-width: 800px;
    margin: 0 auto;
}

/* Customer Info Card */
.abg-customer-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* Customer Form */
.abg-customer-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Date Picker Wrapper */
.date-picker-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-left: 3rem;
}

.date-picker-wrapper select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--abg-white);
    padding: 0.5rem;
    font-size: 0.875rem;
}

.date-picker-wrapper select:focus {
    outline: none;
    border-color: var(--abg-primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Email Revalidation Notice */
.email-revalidation-notice {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #fbbf24;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.email-revalidation-notice i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.email-revalidation-notice p {
    margin: 0.5rem 0 0 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* VAT Status Note */
.vat-status-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
    font-style: italic;
}

/* Loading Indicator */
.loading-indicator {
    color: var(--abg-primary);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.loading-indicator:before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid var(--abg-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Signature Textarea */
.signature-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Action Links */
.action-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.action-link {
    color: var(--abg-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
}

.action-link:hover {
    color: var(--abg-primary-light, #60a5fa);
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Special styling for required fields */
.checkbox-wrapper.required {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.checkbox-wrapper.required .checkbox-label {
    color: #fecaca;
}

/* Enhanced Select Styling */
.form-control:not(input) {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--abg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.form-control:not(input):focus {
    outline: none;
    border-color: var(--abg-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form-control:not(input) option {
    background: var(--abg-primary-dark, #1e40af);
    color: var(--abg-white);
    padding: 0.5rem;
}

/* Responsive Design for Customer Info */
@media (max-width: 768px) {
    .abg-customer-info-container {
        padding: 0.5rem;
    }
    
    .abg-customer-info-card {
        padding: 1.5rem;
    }
    
    .abg-customer-info-header .page-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .date-picker-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding-left: 0;
    }
    
    .action-links {
        flex-direction: column;
        align-items: center;
    }
    
    .action-link {
        min-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .abg-customer-info-card {
        padding: 1rem;
    }
    
    .abg-customer-info-header .page-title {
        font-size: 1.25rem;
    }
}

/* ========================================
   ABG FORM SYSTEM STYLES
======================================== */

/* ABG Form Cards */
.abg-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.abg-form-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.abg-secondary-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-disabled-card {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ABG Card Header */
.abg-card-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.abg-card-header h3 {
    color: var(--abg-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.abg-card-header h3 i {
    color: var(--abg-primary);
}

.abg-card-description {
    color: var(--abg-white);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* ABG Card Content */
.abg-card-content {
    padding: 2rem;
}

/* ABG Form */
.abg-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ABG Form Sections */
.abg-form-section {
    margin-bottom: 2rem;
}

.abg-section-title {
    color: var(--abg-white);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.abg-section-title i {
    color: var(--abg-primary);
    font-size: 1rem;
}

/* ABG Form Groups */
.abg-form-group {
    margin-bottom: 1.5rem;
}

.abg-form-row {
    display: flex;
    gap: 1rem;
}

.abg-half-width {
    flex: 1;
}

/* ABG Form Labels */
.abg-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--abg-white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.abg-form-label i {
    color: var(--abg-primary);
    font-size: 0.875rem;
}

/* ABG Form Inputs */
.abg-form-input,
.abg-form-textarea,
.abg-form-select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--abg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.abg-form-input:focus,
.abg-form-textarea:focus,
.abg-form-select:focus {
    outline: none;
    border-color: var(--abg-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.abg-form-input::placeholder,
.abg-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.abg-form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Password Wrapper */
.abg-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.abg-password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 2;
}

.abg-password-toggle:hover {
    color: var(--abg-primary);
}

/* Date Picker Wrapper */
.abg-date-picker-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.abg-date-picker-wrapper select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--abg-white);
    padding: 0.75rem;
    font-size: 0.875rem;
    flex: 1;
}

.abg-date-picker-wrapper select:focus {
    outline: none;
    border-color: var(--abg-primary);
    background: rgba(255, 255, 255, 0.15);
}

/* Radio Groups */
.abg-radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.abg-radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-radio-option input[type="radio"] {
    display: none;
}

.abg-radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--abg-white);
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
}

.abg-radio-label::before {
  /*  content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: absolute;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;*/
}

.abg-radio-option input[type="radio"]:checked + .abg-radio-label::before {
    border-color: var(--abg-primary);
    background: var(--abg-primary);
}

.abg-radio-option input[type="radio"]:checked + .abg-radio-label::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--abg-white);
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Checkbox Groups */
.abg-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.abg-checkbox-wrapper:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.abg-checkbox-wrapper.abg-required {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.abg-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.abg-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--abg-white);
    font-size: 0.875rem;
    cursor: pointer;
    line-height: 1.5;
    flex: 1;
}

.abg-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-top: 2px;
}

.abg-checkbox-wrapper input[type="checkbox"]:checked + .abg-checkbox-label .abg-checkmark {
    background: var(--abg-primary);
    border-color: var(--abg-primary);
}

.abg-checkbox-wrapper input[type="checkbox"]:checked + .abg-checkbox-label .abg-checkmark::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Form Options */
.abg-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Form Actions */
.abg-form-actions {
    margin-top: 2rem;
}

/* ABG Buttons */
.abg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 48px;
}

.abg-btn-primary {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.abg-btn-primary:hover {
    background: linear-gradient(135deg, var(--abg-primary-dark, #1e40af), var(--abg-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    color: var(--abg-white);
    text-decoration: none;
}

.abg-btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.abg-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--abg-white);
    text-decoration: none;
}

.abg-btn-outline-primary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--abg-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.abg-btn-outline-primary:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    color: var(--abg-primary);
    text-decoration: none;
}

.abg-btn-full {
    width: 100%;
}

.abg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Form Errors */
.abg-form-error {
    display: block;
    color: #fca5a5;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.abg-form-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-top: 0.5rem;
    line-height: 1.4;
    font-style: italic;
}

/* Alerts */
.abg-alert {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.abg-alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.abg-alert-warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.abg-alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.abg-alert i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Text Links */
.abg-text-link {
    color: var(--abg-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.abg-text-link:hover {
    color: var(--abg-primary-light, #60a5fa);
    text-decoration: none;
}

/* Quick Links */
.abg-quick-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.abg-quick-link {
    color: var(--abg-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
}

.abg-quick-link:hover {
    color: var(--abg-primary-light, #60a5fa);
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    text-decoration: none;
}

/* Help Links */
.abg-help-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.abg-divider {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Guest Actions */
.abg-guest-actions {
    margin: 1rem 0;
    text-align: center;
}

.abg-guest-actions .abg-divider {
    margin: 1rem 0;
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Captcha Wrapper */
.abg-captcha-wrapper {
    margin: 1.5rem 0;
    text-align: center;
}

/* External Auth Wrapper */
.abg-external-auth-wrapper {
    margin-top: 2rem;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .abg-card-header,
    .abg-card-content {
        padding: 1.5rem;
    }
    
    .abg-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .abg-half-width {
        width: 100%;
    }
    
    .abg-radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .abg-form-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .abg-quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .abg-help-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .abg-help-links .abg-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .abg-card-header,
    .abg-card-content {
        padding: 1rem;
    }
    
    .abg-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}



/* Login Container */
.abg-login-container,
.abg-register-container {
    min-height: 100vh;
    background: var(--abg-gradient-primary);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Login/Register Header */
.abg-login-header,
.abg-register-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.abg-logo .logo-img {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.login-title,
.register-title {
    color: var(--abg-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-subtitle,
.register-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Login/Register Body */
.abg-login-body,
.abg-register-body {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.abg-register-body {
    max-width: 600px;
}

/* Login/Register Cards */
.abg-login-card,
.abg-register-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* Form Titles */
.form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title h2 {
    color: var(--abg-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-title .form-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

/* Form Sections - Daha iyi organizasyon */
.form-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.form-section:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-section.personal-info {
    border-left: 4px solid #10b981; /* Yeşil */
}

.form-section.contact-info {
    border-left: 4px solid #3b82f6; /* Mavi */
}

.form-section.security-info {
    border-left: 4px solid #f59e0b; /* Sarı */
}

/* Section Titles - Daha belirgin */
.section-title {
    color: var(--abg-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.section-title i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--abg-primary);
    border-radius: 6px;
    font-size: 0.875rem;
    color: white;
}

/* Input Groups - Mobil uyumlu */
.input-group {
    position: relative;
    margin-bottom: 1.25rem;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .input-group {
    flex: 1;
    min-width: 250px;
}

/* Mobil cihazlarda tek sütun */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-row .input-group {
        min-width: 100%;
    }
}

/* Input Icon - Geliştirilmiş */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(30, 41, 59, 0.5);
    z-index: 2;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.input-group.focused .input-icon,
.form-control:focus ~ .input-icon {
    color: var(--abg-primary);
}

/* Field Validation - Hata mesajları */
.field-validation {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.field-validation.text-danger {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border-left: 3px solid #ef4444;
}

/* Form Controls - Geliştirilmiş Okunabilirlik */
.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--abg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: var(--abg-primary);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Floating Labels */
.floating-label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 0.25rem;
}

.input-group.focused .floating-label,
.form-control:focus + .floating-label {
    top: 0;
    font-size: 0.75rem;
    color: var(--abg-primary);
    background: linear-gradient(to right, transparent 0%, rgba(30, 64, 175, 0.1) 25%, rgba(30, 64, 175, 0.1) 75%, transparent 100%);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--abg-primary);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Checkbox Styling */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--abg-white);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label .checkmark {
    background: var(--abg-primary);
    border-color: var(--abg-primary);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-label .checkmark::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Radio Button Styling */
.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--abg-white);
    font-size: 0.875rem;
    cursor: pointer;
    position: relative;
    padding-left: 1.5rem;
}

.radio-option label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: absolute;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + label::before {
    border-color: var(--abg-primary);
    background: var(--abg-primary);
}

.radio-option input[type="radio"]:checked + label::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Links */
.text-link {
    color: var(--abg-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--abg-primary-light, #60a5fa);
    text-decoration: underline;
}

.forgot-password {
    font-size: 0.875rem;
}

/* Buttons */
.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--abg-primary-dark, #1e40af), var(--abg-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--abg-primary);
    border: 2px solid var(--abg-primary);
}

.btn-outline-primary:hover {
    background: var(--abg-primary);
    color: var(--abg-white);
    transform: translateY(-1px);
}

/* Register specific */
.register-wrapper {
    text-align: center;
}

.register-header h3 {
    color: var(--abg-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
}

.guest-checkout-options {
    margin: 1rem 0;
}

.divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 1rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.login-link {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Validation */
.field-validation {
    color: var(--abg-error, #ef4444);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

.input-group.password-mismatch .form-control {
    border-color: var(--abg-error, #ef4444);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fecaca;
}

/* Captcha */
.captcha-wrapper {
    margin: 1rem 0;
    text-align: center;
}

/* External Auth */
.external-auth-wrapper {
    margin-top: 1rem;
}

/* Disabled State */
.abg-register-card.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.register-disabled {
    text-align: center;
    padding: 2rem;
}

.register-disabled h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-disabled p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .abg-login-container,
    .abg-register-container {
        padding: 0.5rem;
    }
    
    .abg-login-card,
    .abg-register-card {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .input-group.half-width {
        flex: none;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        min-width: 100%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Vehicle-specific styles using centralized colors */

/* Common Vehicle Page Styles */
.abg-vehicles-page,
.abg-vehicle-detail-page,
.abg-vehicle-edit-page,
.abg-vehicle-create-page {
    padding: 1rem;
    min-height: 100vh;
    background: var(--abg-gradient-primary);
}

/* Maintenance Form Container Enhancements */
.abg-vehicles-page .abg-vehicle-card,
.abg-vehicles-page .abg-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--glass-shadow);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure form content is visible */
.abg-vehicles-page .abg-card-content {
    display: block !important;
    visibility: visible !important;
    padding: 1.5rem;
}

/* Fix any potential invisible form groups */
.abg-vehicles-page .abg-form-group {
    display: block !important;
    margin-bottom: 1.5rem;
}

.abg-vehicles-page .abg-form-input,
.abg-vehicles-page .abg-form-textarea {
    display: block !important;
    width: 100%;
    visibility: visible !important;
}

/* Ensure header sections are visible */
.abg-vehicles-page .abg-page-header {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 1.5rem;
}

.abg-vehicles-page .abg-header-content {
    display: flex !important;
    visibility: visible !important;
}

/* Ensure all form elements are visible */
.abg-vehicles-page form {
    display: block !important;
    visibility: visible !important;
}

.abg-vehicles-page .abg-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.abg-vehicles-page .abg-form-group-full {
    grid-column: 1 / -1;
}

/* Force visibility for maintenance specific elements */
#maintenanceQuickPage,
#maintenanceDetailedPage {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#maintenanceQuickPage .abg-vehicle-card,
#maintenanceQuickPage .abg-form-card,
#maintenanceDetailedPage .abg-vehicle-card,
#maintenanceDetailedPage .abg-form-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Page Headers */
.abg-page-header,
.abg-edit-header,
.abg-create-header,
.abg-hero-section {
    margin-bottom: 1.5rem;
}

.abg-header-content,
.abg-edit-header,
.abg-create-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.abg-page-title,
.abg-edit-header h1,
.abg-create-header h1 {
    color: var(--abg-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-vehicle-count {
    background: var(--abg-white);
    color: var(--abg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.abg-header-actions {
    display: flex;
    gap: 0.5rem;
}

/* Vehicle Header - Horizontal Layout (Icon, Badge, Button) */
.abg-vehicle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 60px; /* Same height for all elements */
}

.abg-vehicle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    flex-shrink: 0;
}

.abg-vehicle-icon i {
    font-size: 1.2rem;
    color: var(--abg-white);
}

.abg-vehicle-header .abg-status-badge {
    margin: 0;
    flex-grow: 1; /* Takes available space in center */
    text-align: center;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* margin: 0 1rem;*/ /* Equal spacing from icon and button */
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abg-maintenance-button {
    flex-shrink: 0;
}

.abg-btn-maintenance {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af)); /* Changed to blue */
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3); /* Blue shadow */
    min-height: 40px;
}

.abg-btn-maintenance:hover {
    background: linear-gradient(135deg, var(--abg-primary-dark, #1e40af), var(--abg-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4); /* Blue shadow */
    color: var(--abg-white);
    text-decoration: none;
}

.abg-btn-maintenance i {
    font-size: 1rem;
}

.abg-btn-maintenance span {
    font-weight: 600;
}

/* Vehicle Info Section for History Page */
.abg-vehicle-info-section {
    margin-bottom: 1.5rem;
}

.abg-vehicle-summary {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    margin-bottom: 1rem;
}

.abg-vehicle-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border-radius: 12px;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.abg-vehicle-summary-icon i {
    font-size: 1.5rem;
    color: var(--abg-white);
}

.abg-vehicle-summary-content {
  /*  flex: 1;*/
}

.abg-vehicle-summary-title {
    color: var(--abg-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.abg-vehicle-summary-details {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.abg-plate-display {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

.abg-sticker-display {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Maintenance History Container */
.abg-maintenance-history-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Maintenance Record Styles */
.abg-maintenance-record {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.abg-maintenance-record:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 20px rgba(30, 64, 175, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.abg-maintenance-record-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

/* Record Details */
.abg-record-details {
    flex: 1;
    min-width: 0;
}

.abg-record-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.abg-record-title {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.abg-record-cost {
    background: linear-gradient(135deg, var(--abg-success), var(--abg-success-dark, #047857));
    color: var(--abg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    white-space: nowrap;
}

.abg-record-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.abg-record-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 0.25rem;
}

.abg-item-name {
    color: var(--abg-white);
    font-weight: 500;
}

.abg-item-quantity {
    color: var(--abg-primary-light, #60a5fa);
    font-weight: 600;
    font-size: 0.8rem;
}

.abg-item-cost {
    color: var(--abg-success);
    font-weight: 600;
    font-size: 0.8rem;
}

.abg-record-odometer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.abg-record-odometer i {
    color: var(--abg-primary-light, #60a5fa);
}

.abg-record-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.4;
    font-style: italic;
}

.abg-record-note i {
    color: var(--abg-warning, #f59e0b);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Record Arrow */
.abg-record-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.abg-maintenance-record:hover .abg-record-arrow {
    color: var(--abg-primary-light, #60a5fa);
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .abg-maintenance-record-content {
        flex-direction: column;
        text-align: center;
    }
    
    .abg-date-container {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .abg-record-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .abg-record-arrow {
        display: none;
    }
    
    .abg-vehicle-summary {
       /* flex-direction: column;
        text-align: center;*/
    }
    
    .abg-vehicle-summary-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .abg-vehicle-summary-details {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile responsive için */
@media (max-width: 480px) {
    .abg-vehicle-header {
       /* flex-direction: column;*/
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .abg-vehicle-icon {
        align-self: center;
    }
    
    .abg-status-badge {
        text-align: center;
    }
    
    .abg-btn-maintenance {
        justify-content: center;
    }
}

/* Vehicle Info Header - Horizontal Badge/Button Layout */
.abg-header-actions .abg-btn-outline {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--abg-white) !important;
    border: 2px solid var(--abg-white) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15) !important;
    padding: 0.75rem !important;
    min-width: 48px !important;
    min-height: 48px !important;
    font-weight: 600 !important;
}

.abg-header-actions .abg-btn-outline:hover {
    background: var(--abg-white) !important;
    color: var(--abg-primary) !important;
    border-color: var(--abg-white) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3) !important;
}

.abg-header-actions .abg-btn-outline:active {
    transform: scale(0.95) !important;
}

.abg-header-actions .abg-btn-outline i {
    font-size: 1.1rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* History Page Specific Styles */
.abg-maintenance-record {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.abg-maintenance-record::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.abg-maintenance-record:hover::before {
    left: 100%;
}

.abg-maintenance-record:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15), 0 0 20px rgba(30, 64, 175, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.abg-date-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 0.5rem 0;
}

.abg-date-display {
    text-align: center;
    color: var(--abg-primary-light, #60a5fa);
    font-weight: 600;
    padding: 0.75rem;
    position: relative;
}

.abg-date-display::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--abg-primary), transparent);
    border-radius: 1px;
}

.abg-date-display .abg-day {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 800;
    color: var(--abg-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.abg-date-display .abg-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin: 4px 0 2px 0;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 700;
}

.abg-date-display .abg-year {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}

.abg-date-display .abg-time {
    font-size: 0.7rem;
    margin-top: 6px;
    padding: 3px 8px;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.2), rgba(30, 64, 175, 0.4));
    border-radius: 8px;
    border: 1px solid rgba(30, 64, 175, 0.3);
    backdrop-filter: blur(4px);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.abg-status-primary {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.abg-status-active {
    background: linear-gradient(135deg, var(--abg-success), var(--abg-success-dark, #047857));
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.abg-status-retired {
    background: linear-gradient(135deg, var(--abg-gray), var(--abg-gray-dark, #4b5563));
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.abg-summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.abg-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--abg-primary), var(--abg-success), var(--abg-primary));
    border-radius: 16px 16px 0 0;
}

.abg-summary-card .abg-vehicle-image {
    color: var(--abg-success);
    margin-bottom: 1rem;
}

.abg-summary-card .abg-vehicle-image i {
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.abg-record-count {
    background: linear-gradient(135deg, var(--abg-success), var(--abg-success-dark, #047857));
    color: var(--abg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

/* Enhanced Empty State for History */
.abg-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--abg-white);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    margin: 2rem 0;
}

.abg-empty-state .abg-empty-icon {
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.abg-empty-state .abg-empty-icon i {
    font-size: 4rem;
    color: var(--abg-primary-light, #60a5fa);
    text-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}

.abg-empty-state h3 {
    color: var(--abg-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.abg-empty-state p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced vehicle details for history records */
.abg-maintenance-record .abg-vehicle-details {
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.75rem;
}

.abg-maintenance-record .abg-brand-model,
.abg-maintenance-record .abg-model-year,
.abg-maintenance-record .abg-color,
.abg-maintenance-record .abg-sticker-code {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.abg-maintenance-record .abg-brand-model i,
.abg-maintenance-record .abg-model-year i,
.abg-maintenance-record .abg-color i,
.abg-maintenance-record .abg-sticker-code i {
    color: var(--abg-primary-light, #60a5fa);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.abg-maintenance-record .abg-plate-number {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* View All Container Enhancement */
.abg-view-all-container {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-view-all-container .abg-btn {
    min-width: 200px;
    font-weight: 600;
}

/* Mobile Responsive Improvements for History */
@media (max-width: 768px) {
    .abg-date-display .abg-day {
        font-size: 2rem;
    }
    
    .abg-date-display .abg-month {
        font-size: 0.75rem;
    }
    
    .abg-maintenance-record .abg-vehicle-details {
        font-size: 0.85rem;
    }
    
    .abg-maintenance-record .abg-plate-number {
        font-size: 1rem;
    }
    
    .abg-date-container {
        margin: 0.25rem 0;
    }
    
    .abg-action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .abg-action-buttons .abg-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .abg-vehicles-page {
        padding: 0.75rem;
    }
    
    .abg-page-header {
        margin-bottom: 1rem;
    }
    
    .abg-header-content {
        padding: 0.75rem;
    }
    
    .abg-page-title {
        font-size: 1.25rem;
    }
    
    .abg-vehicle-count {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
    
    .abg-maintenance-record {
        padding: 0.75rem;
    }
    
    .abg-empty-state {
        padding: 2.5rem 1rem;
    }
    
    .abg-empty-state .abg-empty-icon i {
        font-size: 3rem;
    }
    
    .abg-empty-state h3 {
        font-size: 1.1rem;
    }
}

/* Buttons */
.abg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.abg-btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: var(--abg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.abg-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--abg-white);
    border-color: var(--abg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.abg-btn-primary {
    background: var(--abg-gradient-primary);
    color: var(--abg-white);
}

.abg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow);
}

.abg-btn-outline-primary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--abg-white);
    border: 2px solid var(--abg-primary);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.abg-btn-outline-primary:hover {
    background: var(--abg-primary);
    color: var(--abg-white);
    border-color: var(--abg-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.abg-btn-success {
    background: var(--abg-gradient-success);
    color: var(--abg-white);
}

.abg-btn-danger {
    background: var(--abg-danger);
    color: var(--abg-white);
}

.abg-btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

.abg-btn-full {
    width: 100%;
}

.abg-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow);
}

.abg-btn:active {
    transform: scale(0.98);
}

/* Search Section */
.abg-search-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    animation: slideDown 0.3s ease-out;
}

.abg-search-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.abg-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    color: var(--abg-white);
    font-size: 1rem;
}

.abg-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.abg-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

.abg-clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.abg-filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.abg-filter-chip {
    padding: 0.5rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    background: transparent;
    color: var(--abg-white);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.abg-filter-chip.active,
.abg-filter-chip:hover {
    background: var(--abg-white);
    color: var(--abg-primary);
}

/* Vehicle Cards */
.abg-vehicles-container {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.abg-vehicle-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.abg-vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.abg-status-badge {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.abg-status-badge.active {
    background: var(--abg-success);
    color: var(--abg-white);
}

.abg-status-badge.inactive {
    background: var(--abg-gray);
    color: var(--abg-white);
}

.abg-vehicle-image {
    text-align: center;
    margin-bottom: 1rem;
}

.abg-vehicle-image i {
    font-size: 3rem;
    color: var(--abg-white);
}

.abg-vehicle-info {
    margin-bottom: 1rem;
}

.abg-plate-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--abg-white);
    text-align: center;
    background: var(--abg-primary);
    padding: 0.2rem;
    border-radius: 8px;
    margin-bottom: 0.3rem;
}

.abg-vehicle-nickname {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-style: italic;
    text-align: center;
}

.abg-vehicle-nickname i {
    color: var(--abg-danger-light);
    font-size: 0.8rem;
}

.abg-vehicle-details {
    color: var(--abg-white);
}

.abg-brand-model {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.abg-model-year,
.abg-color,
.abg-sticker-code {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

/* Action Buttons Section */
.abg-action-buttons-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-action-buttons-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.abg-action-buttons-grid.abg-quick-buttons {
    grid-template-columns: repeat(3, 1fr);
}

/* Enhanced Action Buttons */
.abg-btn-back-enhanced,
.abg-btn-quick-enhanced,
.abg-btn-save-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 50px;
    font-size: 0.95rem;
}

.abg-btn-back-enhanced {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.abg-btn-back-enhanced:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.abg-btn-quick-enhanced {
    background: linear-gradient(135deg, var(--abg-warning, #f59e0b), #d97706);
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.abg-btn-quick-enhanced:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.abg-btn-save-enhanced {
    background: linear-gradient(135deg, var(--abg-success), #047857);
    color: var(--abg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.abg-btn-save-enhanced:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

/* Mobile Responsive for Action Buttons */
@media (max-width: 768px) {
    .abg-action-buttons-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .abg-action-buttons-grid.abg-quick-buttons {
        grid-template-columns: 1fr;
    }
    
    .abg-btn-back-enhanced,
    .abg-btn-quick-enhanced,
    .abg-btn-save-enhanced {
        padding: 0.875rem 1.25rem;
        min-height: 45px;
        font-size: 0.9rem;
    }
}

/* Detail Page Specific Styles */
.abg-hero-section {
    margin-bottom: 2rem;
    position: relative;
}

.abg-hero-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
}

.abg-hero-title {
    color: var(--abg-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.abg-back-btn {
    background: none;
    border: none;
    color: var(--abg-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.abg-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.abg-action-menu-btn {
    background: none;
    border: none;
    color: var(--abg-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.abg-action-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.abg-vehicle-hero-image {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 16px 16px;
}

.abg-vehicle-hero-image i {
    font-size: 4rem;
    color: var(--abg-white);
}

.abg-status-overlay {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 10;
}

.abg-status-overlay.active {
    background: var(--abg-success);
    color: var(--abg-white);
}

.abg-status-overlay.inactive {
    background: var(--abg-gray);
    color: var(--abg-white);
}

/* Info Cards */
.abg-info-cards {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.abg-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.abg-plate-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--abg-white);
    text-align: center;
    background: var(--abg-primary);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.abg-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.abg-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.abg-info-item-full {
    grid-column: 1 / -1;
}

.abg-info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

.abg-info-value {
    color: var(--abg-white);
    font-size: 1rem;
    font-weight: 600;
}

.abg-qr-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

.abg-qr-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--abg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.abg-qr-code i {
    font-size: 3rem;
    color: var(--abg-primary);
}

.abg-sticker-code {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--abg-white);
    background: var(--abg-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.abg-activation-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.abg-activation-status.active {
    background: var(--abg-success);
    color: var(--abg-white);
}

.abg-notes-content {
    color: var(--abg-white);
    line-height: 1.6;
  /*  white-space: pre-wrap;*/
}

/* Action Menu */
.abg-action-menu {
    position: fixed;
    top: 20%;
    right: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 160px;
}

.abg-action-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.abg-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background: none;
    border: none;
    color: var(--abg-white);
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.abg-menu-item:hover {
    background: var(--abg-white);
    color: var(--abg-primary);
}

.abg-menu-item-danger:hover {
    background: var(--abg-danger);
    color: var(--abg-white);
}

/* Not Found State */
.abg-not-found {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--abg-white);
}

.abg-not-found-icon i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.abg-not-found h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--abg-white);
}

.abg-not-found p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Modal Styles */
.abg-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.abg-modal.show {
    opacity: 1;
    visibility: visible;
}

.abg-modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.abg-modal.show .abg-modal-content {
    transform: scale(1);
}

.abg-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.abg-modal-header h3 {
    color: var(--abg-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.abg-modal-close {
    background: none;
    border: none;
    color: var(--abg-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.abg-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.abg-modal-body {
    padding: 1.5rem;
    color: var(--abg-white);
    line-height: 1.6;
}

.abg-modal-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.abg-modal-actions .abg-btn {
    flex: 1;
}

/* Create Page Progress */
.abg-progress-section {
    margin-bottom: 2rem;
}

.abg-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.abg-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.abg-progress-step.active {
    opacity: 1;
}

.abg-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--abg-white);
    color: var(--abg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.abg-progress-step.active .abg-step-number {
    background: var(--abg-primary);
    color: var(--abg-white);
    transform: scale(1.1);
}

.abg-step-label {
    color: var(--abg-white);
    font-size: 0.875rem;
    font-weight: 500;
}

.abg-progress-line {
    height: 2px;
    width: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.abg-form-step {
    display: none;
}

.abg-form-step.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sticker Options */
.abg-sticker-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.abg-option-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.abg-option-card:hover,
.abg-option-card.active {
    border-color: var(--abg-white);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.abg-option-icon {
    margin-bottom: 1rem;
}

.abg-option-icon i {
    font-size: 2.5rem;
    color: var(--abg-white);
}

.abg-option-card h4 {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.abg-option-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.abg-summary-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.abg-summary-card h4 {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.abg-summary-content {
    display: grid;
    gap: 0.75rem;
}

.abg-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-summary-item:last-child {
    border-bottom: none;
}

.abg-summary-item span:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.abg-summary-item span:last-child {
    color: var(--abg-white);
    font-weight: 600;
}

.abg-form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.abg-nav-spacer {
    flex: 1;
}


.abg-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.abg-card-header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 16px 16px 0 0;
}

.abg-card-header h3 {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-card-content {
    padding: 1.5rem;
}

.abg-form-group {
    margin-bottom: 1.5rem;
}

.abg-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--abg-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.abg-form-input,
.abg-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    color: var(--abg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.abg-form-input:focus,
.abg-form-textarea:focus {
    outline: none;
    border-color: var(--abg-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.abg-form-input::placeholder,
.abg-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.abg-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.abg-form-error {
    color: var(--abg-danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.abg-form-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Empty State */
.abg-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--abg-white);
}

.abg-empty-icon i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

/* Pagination */
.abg-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 5rem;
}

.abg-page-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--abg-white);
    color: var(--abg-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.abg-page-info {
    color: var(--abg-white);
    font-weight: 500;
}

/* FAB */
.abg-fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.abg-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--abg-gradient-primary);
    color: var(--abg-white);
    border: none;
    box-shadow: var(--glass-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.abg-fab:hover {
    transform: scale(1.1);
}

.abg-fab-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 180px;
}

.abg-fab-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.abg-fab-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background: none;
    border: none;
    color: var(--abg-white);
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.abg-fab-option:hover {
    background: var(--abg-white);
    color: var(--abg-primary);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .abg-vehicles-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .abg-action-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .abg-vehicles-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .abg-action-buttons {
        flex-direction: row; /* Keep horizontal even on mobile */
        gap: 0.75rem; /* Smaller gap on mobile */
                margin-bottom: 3rem;
    }
    
    .abg-btn-sm {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        flex: 1; /* Equal width buttons */
    }
}

/* Detailed Maintenance Form Styles */
.abg-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.abg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 16px 16px 0 0;
}

.abg-card-header h3 {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-item-count {
    background: var(--abg-primary);
    color: var(--abg-white);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.abg-card-content {
    padding: 1.5rem;
}

.abg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.abg-form-group {
    margin-bottom: 0rem;
}

.abg-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--abg-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.abg-required {
    color: var(--abg-danger);
    font-weight: 700;
}

.abg-form-input,
.abg-form-select,
.abg-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    color: var(--abg-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.abg-form-input:focus,
.abg-form-select:focus,
.abg-form-textarea:focus {
    outline: none;
    border-color: var(--abg-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.abg-form-input::placeholder,
.abg-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.abg-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.abg-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.abg-input-group .abg-form-input {
    flex: 1;
}

.abg-input-group .abg-btn {
    flex-shrink: 0;
}

/* Maintenance Items Container */
.abg-items-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual Maintenance Item */
.abg-maintenance-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.abg-maintenance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--abg-primary), var(--abg-success));
    border-radius: 12px 12px 0 0;
}

.abg-maintenance-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.abg-maintenance-item.collapsed .abg-item-content {
    display: none;
}

/* Item Header */
.abg-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-item-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-item-badge {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.3);
}

.abg-item-actions {
    display: flex;
    gap: 0.5rem;
}

/* Summary Card Styles */
.abg-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.abg-summary-header h3 {
    color: var(--abg-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-total-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.abg-total-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.abg-total-value {
    color: var(--abg-white);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--abg-success), var(--abg-success-dark, #047857));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
}

/* Enhanced Total Card */
.abg-enhanced-total-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.abg-enhanced-total-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.abg-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.abg-total-label {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abg-total-label::before {
    content: "\f0d6";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #059669;
}

.abg-total-value {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    background: linear-gradient(135deg, #dcfdf7, #ecfdf5);
    padding: 12px 20px;
    border-radius: 12px;
    border: 2px solid #a7f3d0;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.1);
}

/* Text Input Visibility Fixes */
.part-number-input,
.note-textarea {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
}

.part-number-input:focus,
.note-textarea:focus {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.part-number-input::placeholder,
.note-textarea::placeholder {
    color: #64748b !important;
    opacity: 0.7;
}

/* Quick Maintenance Form Specific Styles */
.abg-form-group-full {
    grid-column: 1 / -1;
}

.money-input-quick,
.note-textarea-quick {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
}

.money-input-quick:focus,
.note-textarea-quick:focus {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.money-input-quick::placeholder,
.note-textarea-quick::placeholder {
    color: #64748b !important;
    opacity: 0.7;
}

.money-input-quick {
    color: #059669 !important;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.abg-quick-buttons {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 768px) {
    .abg-quick-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .abg-form-group-full {
        grid-column: 1;
    }
}

/* Record Detail Page Specific Styles */
.abg-record-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.abg-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.abg-status-completed {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.abg-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.abg-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.abg-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
}

.abg-info-value {
    color: var(--abg-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.abg-plate-number {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 2.2rem;
}

.abg-action-badge {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.abg-odometer {
    color: #10b981;
    font-weight: 700;
}

.abg-no-data {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.abg-notes-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-notes-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.abg-notes-content {
    color: var(--abg-white);
    line-height: 1.5;
}

/* Cost Summary Card */
.abg-cost-summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.abg-cost-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.abg-cost-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.abg-cost-details h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.abg-cost-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.abg-cost-amount {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #007f27, #13ab63);
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.abg-cost-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--abg-primary-dark) !important;
    margin-right: 0.5rem;
}

.abg-cost-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
}

.abg-no-cost {
    color: #6b7280;
    font-style: italic;
}

.abg-cost-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.abg-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.abg-breakdown-label {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.abg-breakdown-value {
    color: #1e293b;
    font-weight: 600;
}

/* Items List */
.abg-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.abg-record-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.abg-record-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.abg-item-header-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-item-badge-detail {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.abg-item-amount {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
}

.abg-no-amount {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.abg-item-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.abg-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 60px;
}

.abg-template-badge {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.abg-action-badge-small {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.abg-quantity-value {
    color: #fbbf24;
    font-weight: 600;
}

.abg-part-number {
    background: #374151;
    color: #f9fafb;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.abg-item-notes {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

.abg-items-total {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.abg-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(5, 150, 105, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.abg-total-label {
    color: var(--abg-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.abg-total-amount {
    color: #10b981;
    font-weight: 700;
    font-size: 1.3rem;
}

.abg-record-buttons {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .abg-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .abg-cost-breakdown {
        grid-template-columns: 1fr;
    }
    
    .abg-item-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .abg-record-buttons {
        grid-template-columns: 1fr;
    }
    
    .abg-cost-value {
        font-size: 1.8rem;
    }
    
    .abg-cost-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Money input styling */
.money-input {
    color: #059669 !important;
    font-weight: 600;
    background-color: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
}

.money-input:focus {
    color: #047857 !important;
    background-color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1) !important;
}

.money-input::placeholder {
    color: #6b7280 !important;
    font-weight: normal;
}

/* Enhanced Total Card Styles */
.abg-total-card {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.15), rgba(5, 150, 105, 0.05));
    border: 2px solid rgba(5, 150, 105, 0.3);
    position: relative;
    overflow: hidden;
}

.abg-total-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--abg-success), var(--abg-primary), var(--abg-success));
    border-radius: 16px 16px 0 0;
}

.abg-total-summary {
    padding: 0.5rem 0;
}

.abg-total-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.abg-total-header h3 {
    color: var(--abg-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-total-badge {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    color: var(--abg-white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.abg-total-display {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.abg-total-display::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--abg-success), transparent, var(--abg-primary), transparent, var(--abg-success));
    border-radius: 18px;
    z-index: -1;
    opacity: 0.3;
}

.abg-total-display .abg-total-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.abg-total-amount-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.abg-total-amount-display .abg-total-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--abg-white);
    text-shadow: 0 2px 8px rgba(5, 150, 105, 0.5);
    line-height: 1;
}

.abg-total-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.25rem;
}

.abg-total-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.abg-total-item-count,
.abg-total-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.abg-total-item-count i {
    color: var(--abg-primary-light, #60a5fa);
}

.abg-total-status i {
    color: var(--abg-success);
}

/* Enhanced Total Card - Clean and Modern */
.abg-total-card-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.abg-total-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #059669, #10b981, #059669);
    border-radius: 20px 20px 0 0;
}

.abg-total-summary-enhanced {
    padding: 1rem 0;
}

.abg-total-header-enhanced {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.abg-total-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.abg-total-title h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.abg-total-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.abg-total-amount-container {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    margin: 1rem 0;
}

.abg-total-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.abg-total-value-large {
    font-size: 3rem;
    font-weight: 800;
    color: #059669;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
}

.abg-total-currency-large {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-left: 0.25rem;
}

.abg-total-details {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

/* Enhanced Action Buttons */
.abg-btn-back-enhanced {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
}

.abg-btn-back-enhanced:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

.abg-btn-quick-enhanced {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.abg-btn-quick-enhanced:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.abg-btn-save-enhanced {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.abg-btn-save-enhanced:hover {
    background: linear-gradient(135deg, #047857, #059669);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.abg-btn-back-enhanced,
.abg-btn-quick-enhanced,
.abg-btn-save-enhanced {
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

/* Total Update Animation - Enhanced */
.abg-total-updated .abg-total-value-large {
    animation: totalUpdateEnhanced 0.6s ease-out;
}

@keyframes totalUpdateEnhanced {
    0% {
        transform: scale(1);
        color: #059669;
    }
    50% {
        transform: scale(1.1);
        color: #10b981;
        text-shadow: 0 4px 20px rgba(5, 150, 105, 0.5);
    }
    100% {
        transform: scale(1);
        color: #059669;
    }
}

/* Header Button Enhancement */
.abg-btn-back,
.abg-btn-quick {
    min-width: 80px;
    gap: 0.4rem;
}

.abg-btn-text {
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .abg-btn-text {
        display: none;
    }
    
    .abg-btn-back,
    .abg-btn-quick {
        min-width: 48px;
    }
    
    .abg-total-amount-display .abg-total-value {
        font-size: 2rem;
    }
    
    .abg-total-display {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .abg-total-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Action Buttons Section */
.abg-action-buttons-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* Alert Styles */
.abg-alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.abg-alert-danger {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.abg-alert-success {
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.3);
    color: #6ee7b7;
}

.abg-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

/* Select2 Customization for Dark Theme */
.select2-container--default .select2-selection--single {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
    height: auto !important;
    padding: 0.375rem 0.5rem !important;
    color: var(--abg-white) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--abg-white) !important;
    padding: 0.5rem 0.5rem !important;
    line-height: 1.5 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 8px !important;
}

.select2-dropdown {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
}

.select2-results__option {
    color: var(--abg-white) !important;
    background: transparent !important;
}

.select2-results__option--highlighted {
    background: var(--abg-primary) !important;
    color: var(--abg-white) !important;
}

/* Mobile Responsive for Detailed Form */
@media (max-width: 768px) {
    .abg-form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .abg-action-buttons-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .abg-card-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .abg-card-content {
        padding: 1rem;
    }
    
    .abg-summary-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .abg-total-amount {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    
    .abg-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .abg-maintenance-item {
        padding: 0.75rem;
    }
    
    /* Enhanced Total Card Mobile */
    .abg-total-value-large {
        font-size: 2.5rem;
    }
    
    .abg-total-currency-large {
        font-size: 1.25rem;
    }
    
    .abg-total-header-enhanced {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .abg-total-amount-container {
        padding: 1.5rem 1rem;
    }
    
    /* Enhanced Buttons Mobile */
    .abg-btn-back-enhanced,
    .abg-btn-quick-enhanced,
    .abg-btn-save-enhanced {
        padding: 1rem;
        font-size: 0.9rem;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .abg-input-group {
        flex-direction: column;
    }
    
    .abg-input-group .abg-btn {
        width: 100%;
    }
    
    .abg-card-header h3 {
        font-size: 1rem;
    }
    
    .abg-total-value {
        font-size: 1.25rem;
    }
    
    .abg-action-buttons-section {
        padding: 1rem;
    }
    
    .abg-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

 .abg-avatar-display {
        text-align: center;
        padding: 20px;
    }
    
    .abg-current-avatar, .abg-no-avatar {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .abg-avatar-image {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid #e3f2fd;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .abg-avatar-placeholder {
        font-size: 120px;
        color: #ccc;
    }
    
    .abg-file-upload-area {
        border: 2px dashed #ddd;
        border-radius: 10px;
        padding: 40px 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        color: var(--abg-white);
        background-color: var(--abg-primary-light);
        margin-bottom: 14px;
    }
    
    .abg-file-upload-area:hover,
    .abg-file-upload-area.drag-over {
        border-color: #2196f3;
        background-color: #f8f9fa;
    }
    
    .abg-file-upload-area.file-selected {
        border-color: #4caf50;
        background-color: #f1f8e9;
    }
    
    .abg-upload-icon {
        font-size: 48px;
        color: #2196f3;
        margin-bottom: 15px;
    }
    
    .abg-upload-preview {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        object-fit: cover;
    }
    
    .abg-file-input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }
    
    .abg-upload-link {
        color: #1976d2;
        text-decoration: underline;
        font-weight: 600;
    }
    
    .abg-tips-list {
        list-style: none;
        padding: 0;
    }
    
    .abg-tips-list li {
        padding: 8px 0;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--abg-white);
    }
    
    .abg-upload-text h4 {
        color: #1a1a1a !important;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .abg-upload-text p {
        color: #333 !important;
        font-weight: 500;
    }
    
    .abg-upload-requirements small {
        color: var(--abg-white) !important;
        font-weight: 500;
    }
    
    .abg-avatar-info h4 {
        color: #1a1a1a !important;
        margin-bottom: 5px;
        font-weight: 600;
    }
    
    .abg-avatar-info p {
        color: #333 !important;
        font-weight: 500;
    }
    
    /* Card içindeki tüm yazıları koyu yap */
    .abg-card-content h4,
    .abg-card-content p,
    .abg-card-content span,
    .abg-card-content small {
        color: var(--abg-white) !important;
    }
    
    .abg-card-description {
        color: var(--abg-white) !important;
    }
    
    /* Form etiketleri 
    .abg-form-label {
        color: #1a1a1a !important;
        font-weight: 600;
    }*/
    
    /* Sayfa başlığı ve açıklama */
    .abg-page-title {
        color: white !important;
    }
    
    .abg-page-description {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

/* Service Provider Information Styles */
.abg-service-provider-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.abg-service-provider-card .abg-card-header h3 {
    color: white;
}

.abg-service-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.abg-service-provider-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.abg-service-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.abg-service-logo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: rgb(255 255 255);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.abg-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abg-logo-placeholder {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.abg-service-details {
    flex: 1;
}

.abg-service-company {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.abg-service-technician,
.abg-service-address {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-service-technician i,
.abg-service-address i {
    width: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.abg-service-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.abg-btn-contact {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    min-width: 120px;
    justify-content: center;
    cursor: pointer;
}

.abg-btn-contact:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.abg-btn-phone:hover {
    background: rgba(34, 197, 94, 0.8);
    border-color: #22c55e;
}

.abg-btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.8);
    border-color: #25d366;
}

.abg-btn-directions:hover {
    background: rgba(59, 130, 246, 0.8);
    border-color: #3b82f6;
}

/* Mobile responsive adjustments for service provider */
@media (max-width: 768px) {
    .abg-service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .abg-service-logo {
        width: 100px;
        height: 100px;
    }
    
    .abg-service-company {
        font-size: 1.2rem;
    }
    
    .abg-service-contact-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .abg-btn-contact {
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .abg-service-provider-card {
        padding: 1.5rem;
    }
    
    .abg-service-logo {
        width: 100px;
        height: 100px;
    }
    
    .abg-service-company {
        font-size: 1.1rem;
    }
    
    .abg-service-technician,
    .abg-service-address {
        font-size: 0.9rem;
    }
}

/* Service Info Page Specific Styles */
.abg-service-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.abg-service-info-card .abg-card-header h3 {
    color: white;
}

.abg-service-location-card {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
}

.abg-service-location-card .abg-card-header h3 {
    color: white;
}

.abg-service-branding-card {
    background: linear-gradient(135deg, #fc466b 0%, #3f5efb 100%);
    color: white;
    border: none;
}

.abg-service-branding-card .abg-card-header h3 {
    color: white;
}

.abg-logo-preview-container {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 0.5rem;
}

/* ========================================
   ABG FORM CONTROLS STYLES
======================================== */

/* Checkbox Styles */
.abg-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.abg-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.abg-checkbox:checked {
    background: linear-gradient(135deg, var(--abg-primary), var(--abg-primary-dark, #1e40af));
    border-color: var(--abg-primary);
}

.abg-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--abg-white);
    font-size: 12px;
    font-weight: bold;
}

.abg-checkbox:hover {
    border-color: var(--abg-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.abg-checkbox-label {
    color: var(--abg-white);
    font-size: 0.95rem;
    cursor: pointer;
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abg-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Radio Button Styles */
.abg-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.abg-radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.abg-radio-option input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.abg-radio-option input[type="radio"]:checked {
    border-color: var(--abg-primary);
    background: var(--abg-primary);
}

.abg-radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--abg-white);
    border-radius: 50%;
}

.abg-radio-option input[type="radio"]:hover {
    border-color: var(--abg-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.abg-radio-label {
    color: var(--abg-white);
    font-size: 0.95rem;
    cursor: pointer;
    margin: 0;
}

/* Responsive adjustments for form controls */
@media (max-width: 768px) {
    .abg-radio-group {
        gap: 0.5rem;
    }
    
    .abg-checkbox-wrapper {
        gap: 0.5rem;
    }
}
