/**
 * AMR Customer Vehicles Professional Styles
 */

/* Reset and base styles */
.amr-add-vehicle-container *,
.amr-garage-container * {
    box-sizing: border-box;
}

/* Login required message */
.amr-login-required {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #856404;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.amr-login-required a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.amr-login-required a:hover {
    text-decoration: underline;
}

/* Add Vehicle Form Styles - Wider and More Compact */
.amr-add-vehicle-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
}

.amr-vehicle-form {
    background: #fff;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Main Form Title - Perfect Size with Underline */
h2.form-main-title,
.form-main-title,
.amr-vehicle-form h2,
.amr-add-vehicle-container h2 {
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #333333 !important;
    margin: 0 0 25px 0 !important;
    padding: 0 0 15px 0 !important;
    border-bottom: 2px solid #e0e0e0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    display: block !important;
    text-transform: none !important;
}

/* Remove ALL section spacing and borders */
.form-section,
.form-section.vehicle-selection,
.form-section.vehicle-details,
.form-section.submit-section {
    margin-bottom: 10px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

.form-section.no-border,
.form-section:last-child {
    border: none !important;
    margin-bottom: 0 !important;
}

/* Section Titles - Clean Without Border */
.section-title {
    margin-bottom: 30px;
    color: #333333;
    font-size: 1.6em;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.form-group {
    flex: 1;
    margin-bottom: 10px;
}

/* Radio groups - Ultra compact with NO borders */
.radio-group {
    margin-bottom: 10px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Vehicle Details Section - Completely borderless */
.form-section.vehicle-details,
.form-section.vehicle-details .radio-group:first-child,
.vehicle-details {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Uniform Form Labels */
.form-group label,
.form-group .group-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Radio Group Labels - Minimal spacing */
.radio-group .group-label {
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Clean Input Fields - White Background Always */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff !important;
    color: #333 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Input Fields - Match dropdown and radio button styling exactly */
.form-group .input-field,
.form-group input[type="number"],
.form-group input[type="text"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: normal !important;
    background: #fff !important;
    color: #333 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-sizing: border-box !important;
}

.form-group .input-field:focus,
.form-group input[type="number"]:focus,
.form-group input[type="text"]:focus {
    border-color: #4a90e2 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(106, 97, 206, 0.1) !important;
    background: #fff !important;
    color: #333 !important;
}

/* Placeholder text to match radio button font exactly */
.form-group .input-field::placeholder,
.form-group input[type="number"]::placeholder,
.form-group input[type="text"]::placeholder {
    color: #666 !important;
    font-size: 15px !important;
    font-weight: normal !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 97, 206, 0.1);
    background: #fff !important;
    color: #333 !important;
}

/* Clean Simple Radio Buttons */
.radio-group .radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 5px;
    margin-bottom: 8px;
}

.radio-group .radio-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    transition: none;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
}

.radio-group .radio-options label:hover {
    background: none;
    border: none;
}

.radio-group .radio-options input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #4a90e2;
    cursor: pointer;
}

.radio-group .radio-options span {
    cursor: pointer;
    font-size: 15px;
}

/* Professional Vehicle Placeholder Styling */
.vehicle-image.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #000000;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 200px;
    position: relative;
    padding-top: 40px;
}

.no-image-placeholder {
    display: block;
    width: 100%;
    text-align: center;
}

.vehicle-placeholder-text {
    text-align: center;
    padding: 0 24px;
}

.placeholder-make {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.placeholder-model {
    font-size: 18px;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Vehicle Card Styling Enhancement */
.vehicle-card .vehicle-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

/* Vehicle Details Modal Styling */
.vehicle-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.vehicle-modal .modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.vehicle-modal .loading-spinner {
    background: #000;
    color: #333333;
    padding: 50px;
    text-align: center;
    border-radius: 15px;
    font-size: 18px;
    border: 2px solid #4a90e2;
}

.vehicle-modal .error {
    background: #440000;
    color: #ff6666;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    font-size: 16px;
    border: 2px solid #ff4444;
}

/* Button hover effects for modal */
.vehicle-dashboard button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(106, 97, 206, 0.3);
}

.vehicle-dashboard button:active {
    transform: translateY(0);
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
    .vehicle-modal {
        padding: 10px;
    }
    
    .vehicle-dashboard {
        padding: 10px !important;
        max-width: 100% !important;
    }
    
    .vehicle-dashboard > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .vehicle-dashboard .windshield h1 {
        font-size: 16px !important;
    }
    
    .vehicle-dashboard .windshield h1 span:first-child {
        font-size: 18px !important;
    }
}
    color: #333;
}

/* Professional Photo Upload Section */
.photo-section {
    text-align: center;
}

.photo-upload-area {
    display: inline-block;
}

.photo-preview {
    position: relative;
    width: 200px;
    height: 150px;
    border: 2px dashed #28a745;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.photo-preview:hover {
    border-color: #5a52b8;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(106, 97, 206, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-preview:hover .upload-overlay {
    opacity: 1;
}

.upload-btn, .remove-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    margin: 3px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s;
}

.upload-btn:hover {
    background: #5a52b8;
}

.remove-btn {
    background: #dc3545;
}

.remove-btn:hover {
    background: #c82333;
}

.photo-note {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Remove ALL possible borders and lines */
.amr-vehicle-form *,
.amr-vehicle-form .form-section,
.amr-vehicle-form .form-section *,
.amr-vehicle-form .vehicle-details,
.amr-vehicle-form .vehicle-selection {
    border-top: none !important;
    border-bottom: none !important;
}

/* Professional Form Buttons - Lighter and more inviting */
.add-vehicle-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin: 10px auto 0;
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s, transform 0.2s;
}

.add-vehicle-btn:hover:not(:disabled) {
    background: #5a52b8;
    transform: translateY(-1px);
}

.add-vehicle-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Professional Form Messages */
.form-messages {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.form-messages.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-messages.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Professional VIN Note */
.vin-note {
    font-style: normal;
    color: #666;
    font-size: 13px;
    margin-top: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
}

/* Professional Disabled Selects */
select:disabled {
    background: #f8f9fa !important;
    cursor: not-allowed;
    color: #6c757d !important;
    border-color: #dee2e6;
}

/* My Garage Styles */
.amr-garage-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    box-sizing: border-box;
}

/* Ensure all child elements inherit the system font */
.amr-garage-container * {
    font-family: inherit !important;
}

.garage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.garage-header h2 {
    margin: 0;
    color: white !important;
    font-size: 2em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
}

.personalized-greeting {
    margin: 0 !important;
    color: white !important;
    font-size: 1.8em !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.add-vehicle-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.add-vehicle-link:hover {
    background: linear-gradient(135deg, #5a52b8 0%, #8b4ca3 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Empty garage state */
.empty-garage {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-top: 40px;
}

.empty-garage-title {
    color: #333333 !important;
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    text-align: center !important;
    letter-spacing: 0.02em !important;
}

.empty-garage-description {
    color: #666 !important;
    font-size: 1.1em !important;
    margin-bottom: 25px !important;
    line-height: 1.5 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.btn-add-first-vehicle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-add-first-vehicle:hover {
    background: linear-gradient(135deg, #5a52b8 0%, #8b4ca3 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Vehicle grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    max-width: 100%;
    min-width: 0;
}

/* Vehicle cards */
.vehicle-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    min-width: 480px;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.vehicle-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
    border-bottom: 2px solid #000000;
}

.vehicle-card-header .vehicle-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff !important;
    margin: 0 !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-card-main {
    display: flex !important;
    flex-direction: row !important;
    min-height: 140px;
    width: 100%;
}

.vehicle-image {
    width: 240px;
    min-width: 240px;
    height: 140px;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    margin: 10px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.vehicle-image.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2.5em;
    border: 2px solid #000000;
}

.vehicle-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.vehicle-details {
    color: #666;
    margin-bottom: 0;
    font-size: 0.85em;
}

.vehicle-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    font-size: 0.8em;
    line-height: 1.2;
    white-space: nowrap;
}

.detail-label {
    font-weight: 600;
    color: #333;
}

/* Quick action buttons - full width bottom bar */
.quick-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.quick-actions button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.btn-schedule {
    background: #28a745;
    color: white;
}

.btn-schedule:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-enter-vehicle {
    background: #4a90e2;
    color: white;
}

.btn-enter-vehicle:hover {
    background: #3a80d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.btn-history {
    background: #6c757d;
    color: white;
}

.btn-history:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* License plate styling */
.license-plate {
    background: #fff;
    border: 2px solid #333;
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9em;
    border-radius: 4px;
    display: inline-block;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .amr-add-vehicle-container,
    .amr-garage-container {
        padding: 10px;
    }
    
    .amr-vehicle-form {
        padding: 15px 20px;
    }
    
    h2.form-main-title,
    .form-main-title,
    .amr-vehicle-form h2,
    .amr-add-vehicle-container h2 {
        font-size: 2rem !important;
        margin: 0 0 20px 0 !important;
        padding: 0 0 12px 0 !important;
        border-bottom: 2px solid #e0e0e0 !important;
    }
    
    .form-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .radio-group .radio-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .garage-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .vehicle-card-main {
        flex-direction: column;
        min-height: auto;
    }
    
    .vehicle-image {
        width: 100%;
        height: 180px;
    }
    
    .vehicle-info {
        padding: 15px;
    }
    
    .quick-actions {
        gap: 8px;
        padding: 10px;
    }
    
    .quick-actions button {
        padding: 10px;
        font-size: 0.85em;
    }
    
    .photo-preview {
        width: 150px;
        height: 112px;
    }
}

@media (max-width: 480px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .garage-header h2 {
        font-size: 1.5em;
    }
    
    .vehicle-title {
        font-size: 1.1em;
    }
    
    .add-vehicle-link,
    .btn-add-first-vehicle {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    
    .garage-action-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .garage-action-btn {
        flex-direction: column;
        padding: 15px 10px;
        min-width: 120px;
    }
    
    .btn-icon {
        font-size: 1.5em;
        margin-bottom: 5px;
    }
    
    .btn-text {
        font-size: 0.9em;
    }
}

/* Garage Action Buttons */
.garage-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 30px 20px;
    border-top: 1px solid #e0e0e0;
}

.garage-action-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    min-width: 160px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.garage-action-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    /* Note: Individual button classes override box-shadow */
}

.btn-icon {
    font-size: 1.2em;
    margin-right: 8px;
}

.btn-text {
    font-size: 1em;
}

/* Individual button styles - ALL with white text and blur shadow on hover */
.appointments-btn,
.appointments-btn:link,
.appointments-btn:visited {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important; /* Force white text */
    text-decoration: none !important;
}

.appointments-btn:hover,
.appointments-btn:focus {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4), 0 0 30px rgba(102, 126, 234, 0.3) !important; /* Blur shadow effect */
    transform: translateY(-2px) !important;
}

.invoices-btn,
.invoices-btn:link,
.invoices-btn:visited {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white !important; /* Force white text */
    text-decoration: none !important;
}

.invoices-btn:hover,
.invoices-btn:focus {
    background: linear-gradient(135deg, #3d9aec 0%, #00e0ec 100%) !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.4), 0 0 30px rgba(79, 172, 254, 0.3) !important; /* Blur shadow effect */
    transform: translateY(-2px) !important;
}

.payments-btn,
.payments-btn:link,
.payments-btn:visited {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white !important; /* Force white text */
    text-decoration: none !important;
}

.payments-btn:hover,
.payments-btn:focus {
    background: linear-gradient(135deg, #ee82f0 0%, #f3455a 100%) !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4), 0 0 30px rgba(240, 147, 251, 0.3) !important; /* Blur shadow effect */
    transform: translateY(-2px) !important;
}

.logout-btn,
.logout-btn:link,
.logout-btn:visited {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: white !important; /* Changed to white for consistency */
    text-decoration: none !important;
}

.logout-btn:hover,
.logout-btn:focus {
    background: linear-gradient(135deg, #ffe0c0 0%, #fb9f8d 100%) !important;
    color: white !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(252, 182, 159, 0.4), 0 0 30px rgba(252, 182, 159, 0.3) !important; /* Blur shadow effect */
    transform: translateY(-2px) !important;
}

/* Appointments Page Styles */
.amr-appointments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    box-sizing: border-box;
}

/* Ensure all child elements inherit the system font */
.amr-appointments-container * {
    font-family: inherit !important;
}

.appointments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.back-to-garage-link {
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s;
}

.back-to-garage-link:hover {
    background: #545b62;
    color: white;
    text-decoration: none;
}

/* Empty appointments state */
.empty-appointments {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-top: 40px;
}

.empty-appointments-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-appointments-title {
    color: #333333 !important;
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.empty-appointments-description {
    color: #666 !important;
    font-size: 1.1em !important;
    margin-bottom: 25px !important;
    line-height: 1.5 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.btn-book-appointment {
    background: #4a90e2;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s;
}

.btn-book-appointment:hover {
    background: #5a52b8;
    color: white;
    text-decoration: none;
}

/* Appointments sections */
.appointments-section {
    margin-bottom: 40px;
}

.appointments-section .section-title {
    color: #333333 !important;
    font-size: 1.4em !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Appointments grid */
.appointments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Appointment cards */
.appointment-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #ddd;
}

.appointment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Status-based card colors */
.appointment-card.status-scheduled,
.appointment-card.status-confirmed {
    border-left-color: #28a745;
}

.appointment-card.status-on-my-way,
.appointment-card.status-arrived,
.appointment-card.status-in-progress,
.appointment-card.status-inspection,
.appointment-card.status-payment-processing {
    border-left-color: #ffc107;
}

.appointment-card.status-completed {
    border-left-color: #333333;
}

.appointment-card.status-cancelled {
    border-left-color: #dc3545;
}

/* Appointment card header */
.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    margin-bottom: 15px;
}

.appointment-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.status-badge {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid #e9ecef;
}

.status-scheduled .status-badge,
.status-confirmed .status-badge {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.status-on-my-way .status-badge,
.status-arrived .status-badge,
.status-in-progress .status-badge,
.status-inspection .status-badge,
.status-payment-processing .status-badge {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.status-completed .status-badge {
    background: #d4edda;
    color: #333333;
    border-color: #d1ccff;
}

.status-cancelled .status-badge {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.invoice-number {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
}

.appointment-date-time {
    text-align: right;
}

.appointment-date-time .date {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.appointment-date-time .time {
    font-size: 0.9em;
    color: #666;
}

/* Appointment details */
.appointment-details {
    padding: 0 20px 15px 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.detail-row .label {
    font-weight: 600;
    color: #333;
    min-width: 80px;
    flex-shrink: 0;
}

.detail-row .value {
    color: #666;
    text-align: right;
    flex: 1;
    margin-left: 15px;
    word-break: break-word;
}

.notes-row {
    flex-direction: column;
    align-items: flex-start;
}

.notes-row .value {
    text-align: left;
    margin-left: 0;
    margin-top: 5px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

/* Appointment actions */
.appointment-actions {
    display: flex;
    gap: 8px;
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-align: center;
}

.reschedule-btn {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.reschedule-btn:hover {
    background: #bbdefb;
    transform: translateY(-1px);
}

.receipt-btn {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.receipt-btn:hover {
    background: #e1bee7;
    transform: translateY(-1px);
}

.cancel-btn {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.cancel-btn:hover {
    background: #ffcdd2;
    transform: translateY(-1px);
}

/* Responsive appointments design */
@media (max-width: 768px) {
    .amr-appointments-container {
        padding: 10px;
    }
    
    .appointments-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .appointments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .appointment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .appointment-date-time {
        text-align: left;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .detail-row .value {
        text-align: left;
        margin-left: 0;
    }
    
    .appointment-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-btn {
        padding: 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .appointments-header h2 {
        font-size: 1.5em;
    }
    
    .back-to-garage-link {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .appointment-card {
        margin-bottom: 15px;
    }
}

/* Appointments Display Styles */
.amr-appointments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    box-sizing: border-box;
}

.amr-appointments-container * {
    font-family: inherit !important;
}

.appointments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.appointments-header h2 {
    margin: 0;
    color: white !important;
    font-size: 1.8em !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.back-to-garage-link {
    background: #4a90e2;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s;
}

.back-to-garage-link:hover {
    background: #5a52b8;
    color: white;
    text-decoration: none;
}

/* Empty appointments state */
.empty-appointments {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-top: 40px;
}

.empty-appointments-title {
    color: #333333 !important;
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.empty-appointments-description {
    color: #666 !important;
    font-size: 1.1em !important;
    margin-bottom: 25px !important;
    line-height: 1.5 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.btn-book-appointment {
    background: #4a90e2;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.3s;
}

.btn-book-appointment:hover {
    background: #5a52b8;
    color: white;
    text-decoration: none;
}

/* Appointments sections */
.appointments-section {
    margin-bottom: 40px;
}

.appointments-section .section-title {
    color: #333333 !important;
    font-size: 1.4em !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.appointments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Appointment cards */
.appointment-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid #4a90e2;
}

.appointment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 20px 10px 20px;
    background: #f8f9fa;
}

.appointment-status {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-badge {
    background: #4a90e2;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
}

.invoice-number {
    font-size: 0.9em;
    color: #666;
    font-family: monospace;
}

.appointment-date-time {
    text-align: right;
}

.appointment-date-time .date {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.appointment-date-time .time {
    color: #666;
    font-size: 0.9em;
}

.appointment-details {
    padding: 15px 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.detail-row.notes-row {
    flex-direction: column;
    gap: 5px;
}

.detail-row .label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.detail-row .value {
    color: #666;
    text-align: right;
}

.notes-row .value {
    text-align: left;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    border-left: 3px solid #4a90e2;
}

/* Appointment actions */
.appointment-actions {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.action-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.reschedule-btn {
    background: #17a2b8;
    color: white;
}

.reschedule-btn:hover {
    background: #138496;
}

.receipt-btn {
    background: #6f42c1;
    color: white;
}

.receipt-btn:hover {
    background: #5a32a3;
}

.cancel-btn {
    background: #dc3545;
    color: white;
}

.cancel-btn:hover {
    background: #c82333;
}

/* Status-specific card styling */
.appointment-card.status-scheduled,
.appointment-card.status-confirmed {
    border-left-color: #28a745;
}

.appointment-card.status-scheduled .status-badge,
.appointment-card.status-confirmed .status-badge {
    background: #28a745;
}

.appointment-card.status-on-my-way,
.appointment-card.status-arrived,
.appointment-card.status-in-progress,
.appointment-card.status-inspection,
.appointment-card.status-payment-processing {
    border-left-color: #ffc107;
}

.appointment-card.status-on-my-way .status-badge,
.appointment-card.status-arrived .status-badge,
.appointment-card.status-in-progress .status-badge,
.appointment-card.status-inspection .status-badge,
.appointment-card.status-payment-processing .status-badge {
    background: #ffc107;
    color: #212529;
}

.appointment-card.status-completed {
    border-left-color: #17a2b8;
}

.appointment-card.status-completed .status-badge {
    background: #17a2b8;
}

.appointment-card.status-cancelled {
    border-left-color: #dc3545;
    opacity: 0.7;
}

.appointment-card.status-cancelled .status-badge {
    background: #dc3545;
}

/* Responsive design for appointments */
@media (max-width: 768px) {
    .appointments-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .appointments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .appointment-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .appointment-date-time {
        text-align: center;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 2px;
        text-align: left;
    }
    
    .detail-row .value {
        text-align: left;
    }
    
    .appointment-actions {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .appointments-header h2 {
        font-size: 1.4em !important;
    }
    
    .back-to-garage-link,
    .btn-book-appointment {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

/* Vehicle Details Modal */
.vehicle-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
}

.vehicle-modal .modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Payment methods modal specific styling */
#payment-methods-modal .modal-content {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}

#payment-methods-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    min-height: 0;
}

/* Dark styled modal content */
.payment-methods-dashboard {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Card form styling */
.stripe-card-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vehicle-modal .modal-header {
    position: relative;
    z-index: 10001;
}

.vehicle-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.vehicle-modal .modal-close:hover {
    background: #fff;
    color: #ff4444;
    transform: scale(1.1);
}

.loading-spinner {
    text-align: center;
    padding: 50px;
    color: #333333;
    font-size: 18px;
    background: #fff;
    border-radius: 15px;
}

/* Enhanced Spinner Animation */
.amr-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: amr-spin 1s linear infinite;
    margin: 10px;
}

.amr-spinner-large {
    width: 60px;
    height: 60px;
    border-width: 6px;
    margin: 20px;
}

@keyframes amr-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading overlay with spinner */
.amr-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10000;
}

.amr-loading-overlay .amr-spinner {
    border-color: #f3f3f3;
    border-top-color: #333333;
}

.amr-loading-text {
    color: #ffffff;
    font-size: 1.1em;
    margin-top: 15px;
    font-weight: 500;
}

/* ===================================
   MY GARAGE PAGE BUTTONS - NEW CLEAN STYLES
   =================================== */

/* Force uniform styling for both <a> and <button> tags */
a.my-garage-page-btn,
button.my-garage-page-btn,
.my-garage-page-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 24px !important;
    min-width: 160px !important;
    background: #ffffff !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    color: #000000 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

a.my-garage-page-btn:hover,
button.my-garage-page-btn:hover,
.my-garage-page-btn:hover {
    background: #6a61ce !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 4px 15px rgba(106, 97, 206, 0.4) !important;
    transform: translateY(-2px) !important;
}

a.my-garage-page-btn .btn-icon,
button.my-garage-page-btn .btn-icon,
.my-garage-page-btn .btn-icon {
    font-size: 1.2em !important;
    margin-right: 8px !important;
    color: inherit !important;
    filter: grayscale(100%) !important;
    transition: filter 0.3s ease !important;
}

a.my-garage-page-btn:hover .btn-icon,
button.my-garage-page-btn:hover .btn-icon,
.my-garage-page-btn:hover .btn-icon {
    filter: grayscale(0%) !important;
}

a.my-garage-page-btn .btn-text,
button.my-garage-page-btn .btn-text,
.my-garage-page-btn .btn-text {
    font-size: 1em !important;
    color: inherit !important;
}

/* ================================================
   PAYMENT NOTIFICATION TOASTS (NO ANNOYING ALERTS!)
   ================================================ */

.amr-payment-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 400px;
}

.amr-payment-notification {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 50px 16px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    position: relative;
    min-width: 320px;
    animation: slideInRight 0.4s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.amr-payment-notification-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.amr-payment-notification-error {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

.amr-payment-notification-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.amr-payment-notification-message {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.amr-payment-notification-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 22px;
    font-weight: bold;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.amr-payment-notification-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .amr-payment-notifications-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .amr-payment-notification {
        min-width: auto;
        padding: 14px 45px 14px 16px;
    }
}
