/* Models Page Services Section - Separate from Index Services */

/* Models Services Section */
.models-services-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.models-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.models-section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.models-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Service Category Sections */
.models-service-category-section {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

.models-service-category-section.collapsed {
    max-height: 60px;
    overflow: hidden;
}

.models-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.models-category-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.models-category-title i {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #3498db;
}

.models-category-toggle {
    font-size: 1rem;
    color: #3498db;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.models-category-toggle:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: scale(1.1);
}

.models-category-toggle.rotated {
    transform: rotate(180deg);
}

/* Services Grid */
.models-category-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
}

.models-service-category-section:not(.collapsed) .models-category-services-grid {
    margin-top: 0.8rem;
}

/* Service Cards */
.models-service-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.models-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

/* Cart State Styles */
.models-service-card.in-cart {
    border-color: #27ae60;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.models-service-card.in-cart:hover {
    border-color: #229954;
    box-shadow: 0 15px 30px rgba(39, 174, 96, 0.3);
}

.models-service-card.in-cart .models-service-name {
    color: #27ae60;
}

.models-service-card.in-cart .models-service-price {
    background: rgba(39, 174, 96, 0.2);
    color: #229954;
}

.models-service-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.models-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.models-service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.models-service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.models-service-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.models-service-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap;
}

.models-service-description {
    font-size: 0.7rem;
    color: #7f8c8d;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.models-service-details {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.models-service-warranty {
    font-size: 0.65rem;
    color: #95a5a6;
    background: rgba(149, 165, 166, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
}

/* Add to Cart Button */
.models-add-to-cart-btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    width: auto;
    min-width: 80px;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.models-add-to-cart-btn i {
    font-size: 0.55rem;
}

.models-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Remove from Cart Button */
.models-remove-from-cart-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    width: auto;
    min-width: 80px;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.models-remove-from-cart-btn i {
    font-size: 0.55rem;
}

.models-remove-from-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Cart Message */
.models-cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.models-cart-message.show {
    transform: translateX(0);
}

.models-cart-message-success {
    background: #27ae60;
}

.models-cart-message-warning {
    background: #f39c12;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Bottom Cart Bar */
.models-cart-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid #3498db;
}

.models-cart-bottom-bar.show {
    transform: translateY(0);
}

.models-cart-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.models-cart-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.models-cart-items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.models-cart-items i {
    font-size: 1.1rem;
    color: #3498db;
}

.models-cart-count {
    font-weight: 600;
    color: #3498db;
}

.models-cart-text {
    color: rgba(255, 255, 255, 0.9);
}


.models-proceed-to-book-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    min-width: 200px;
    justify-content: space-between;
}

.models-proceed-to-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #229954, #27ae60);
}

.models-proceed-to-book-btn:active {
    transform: translateY(0);
}

.models-proceed-to-book-btn i {
    font-size: 0.9rem;
}

.models-btn-text {
    flex: 1;
    text-align: left;
}

.models-btn-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Mobile Optimizations for Service Cards */
@media (max-width: 768px) {
    .models-container {
        padding: 0 10px;
    }
    
    .models-service-category-section {
        padding: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .models-service-card {
        padding: 0.7rem;
        gap: 0.5rem;
    }
    
    .models-service-image {
        width: 45px;
        height: 45px;
    }
    
    .models-service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .models-service-name {
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        hyphens: auto;
    }
    
    .models-service-price {
        align-self: flex-start;
        font-size: 0.65rem;
    }
    
    .models-service-details {
        margin-top: 0.15rem;
    }
    
    .models-service-warranty {
        font-size: 0.55rem;
        padding: 0.12rem 0.25rem;
    }
    
    .models-add-to-cart-btn {
        width: auto;
        min-width: 100px;
        justify-content: center;
        margin-top: 0.35rem;
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .models-remove-from-cart-btn {
        width: auto;
        min-width: 100px;
        justify-content: center;
        margin-top: 0.35rem;
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .models-container {
        padding: 0 6px;
    }
    
    .models-service-category-section {
        padding: 0.5rem;
        margin-bottom: 0.4rem;
    }
    
    .models-service-card {
        padding: 0.6rem;
        gap: 0.4rem;
    }
    
    .models-service-image {
        width: 40px;
        height: 40px;
    }
    
    .models-service-header {
        gap: 0.2rem;
    }
    
    .models-service-name {
        font-size: 0.75rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .models-service-price {
        font-size: 0.6rem;
        padding: 0.12rem 0.35rem;
    }
    
    .models-service-warranty {
        font-size: 0.5rem;
        padding: 0.1rem 0.2rem;
    }
    
    .models-add-to-cart-btn {
        width: auto;
        min-width: 90px;
        justify-content: center;
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
    }
    
    .models-remove-from-cart-btn {
        width: auto;
        min-width: 90px;
        justify-content: center;
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
    }
}

/* Mobile Responsive for Cart Bar */
@media (max-width: 768px) {
    .models-cart-bottom-bar {
        padding: 0.8rem;
    }
    
    .models-cart-content {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .models-cart-info {
        justify-content: center;
    }
    
    .models-cart-items {
        font-size: 0.9rem;
    }
    
    .models-cart-items i {
        font-size: 1rem;
    }
    
    .models-proceed-to-book-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 20px;
        min-width: 180px;
    }
    
    .models-proceed-to-book-btn i {
        font-size: 0.8rem;
    }
    
    .models-btn-price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .models-cart-bottom-bar {
        padding: 0.6rem;
    }
    
    .models-cart-content {
        gap: 0.6rem;
    }
    
    .models-cart-info {
        justify-content: center;
    }
    
    .models-cart-items {
        font-size: 0.8rem;
    }
    
    .models-cart-items i {
        font-size: 0.9rem;
    }
    
    .models-proceed-to-book-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 18px;
        min-width: 160px;
    }
    
    .models-proceed-to-book-btn i {
        font-size: 0.75rem;
    }
    
    .models-btn-price {
        font-size: 0.9rem;
    }
}

/* Back Title Section */
.models-back-title-section {
    background: var(--white);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.models-back-title-section h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.models-back-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.models-back-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .models-category-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .models-category-title {
        font-size: 1.1rem;
    }
    
    .models-category-title i {
        font-size: 1rem;
    }
    
    .models-category-toggle {
        font-size: 1.1rem;
    }
    
    .models-back-title-section h1 {
        font-size: 1.4rem;
    }
    
    .models-back-button {
        padding: 0.7rem 1.4rem;
        font-size: 1rem;
    }
    
    .models-add-to-cart-btn {
        min-width: 90px;
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .models-add-to-cart-btn i {
        font-size: 0.65rem;
    }
}

@media (min-width: 1024px) {
    .models-category-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .models-category-title {
        font-size: 1.2rem;
    }
    
    .models-category-title i {
        font-size: 1.1rem;
    }
    
    .models-category-toggle {
        font-size: 1.2rem;
    }
    
    .models-back-title-section h1 {
        font-size: 1.6rem;
    }
    
    .models-back-button {
        padding: 0.8rem 1.6rem;
        font-size: 1.1rem;
    }
    
    .models-add-to-cart-btn {
        min-width: 100px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .models-add-to-cart-btn i {
        font-size: 0.7rem;
    }
}

/* Mobile specific for back-title-section */
@media (max-width: 767px) {
    .models-back-title-section {
        gap: 0.5rem;
        padding: 0.3rem 0;
    }
    
    .models-back-title-section h1 {
        font-size: 1rem;
    }
    
    .models-back-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Service Detail Dialog Styles */
.service-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-dialog-overlay.show {
    display: flex;
    opacity: 1;
}

.service-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.service-dialog-overlay.show .service-dialog {
    transform: translateY(0);
}

.service-dialog-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.service-dialog-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.service-dialog-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.service-dialog-close:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.service-dialog-content {
    padding: 1.5rem;
    max-height: calc(80vh - 120px);
    overflow-y: auto;
}

.service-dialog-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-dialog-content img:last-child {
    margin-bottom: 0;
}

/* Mobile Dialog Optimizations */
@media (max-width: 768px) {
    .service-dialog {
        max-height: 85vh;
        border-radius: 15px 15px 0 0;
    }
    
    .service-dialog-header {
        padding: 1.2rem;
    }
    
    .service-dialog-title {
        font-size: 1.1rem;
    }
    
    .service-dialog-content {
        padding: 1.2rem;
        max-height: calc(85vh - 100px);
    }
}

@media (max-width: 480px) {
    .service-dialog {
        max-height: 90vh;
        border-radius: 12px 12px 0 0;
    }
    
    .service-dialog-header {
        padding: 1rem;
    }
    
    .service-dialog-title {
        font-size: 1rem;
    }
    
    .service-dialog-content {
        padding: 1rem;
        max-height: calc(90vh - 80px);
    }
    
    .service-dialog-close {
        font-size: 1.3rem;
        padding: 0.4rem;
    }
}

/* ===================================
   REPAIR OPTION DIALOG STYLES
   =================================== */

/* Repair Option Dialog Overlay */
.repair-option-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.repair-option-dialog-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Repair Option Dialog */
.repair-option-dialog {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.repair-option-dialog-overlay.show .repair-option-dialog {
    transform: translateY(0);
}

/* Dialog Header */
.repair-option-dialog-header {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.repair-option-dialog-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.repair-option-dialog-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.repair-option-dialog-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #2c3e50;
}

/* Dialog Content */
.repair-option-dialog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Repair Option Card */
.repair-option-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.repair-option-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.repair-option-card.selected {
    border-color: #3498db;
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    color: white;
}

.repair-option-card.selected .repair-option-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.repair-option-card.selected h4,
.repair-option-card.selected p {
    color: white;
}

.repair-option-card.selected .repair-option-check {
    display: flex;
}

/* Repair Option Icon */
.repair-option-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.repair-option-icon.store-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

/* Repair Option Details */
.repair-option-details {
    flex: 1;
    min-width: 0;
}

.repair-option-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.repair-option-details p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.4;
}

/* Repair Option Check */
.repair-option-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    color: #27ae60;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Repair Option Badge */
.repair-option-badge {
    flex-shrink: 0;
}

.badge-text {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

/* Mobile Optimizations for Repair Option Dialog */
@media (max-width: 768px) {
    .repair-option-dialog {
        max-width: 100%;
        border-radius: 15px 15px 0 0;
    }
    
    .repair-option-dialog-header {
        padding: 1.2rem 1.2rem 0.8rem;
    }
    
    .repair-option-dialog-header h3 {
        font-size: 1.1rem;
    }
    
    .repair-option-dialog-content {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .repair-option-card {
        padding: 0.9rem;
        gap: 0.8rem;
    }
    
    .repair-option-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .repair-option-details h4 {
        font-size: 0.95rem;
    }
    
    .repair-option-details p {
        font-size: 0.8rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .repair-option-dialog-header {
        padding: 1rem 1rem 0.8rem;
    }
    
    .repair-option-dialog-header h3 {
        font-size: 1rem;
    }
    
    .repair-option-dialog-close {
        font-size: 1.3rem;
        width: 30px;
        height: 30px;
    }
    
    .repair-option-dialog-content {
        padding: 1rem;
        gap: 0.7rem;
    }
    
    .repair-option-card {
        padding: 0.8rem;
        gap: 0.7rem;
    }
    
    .repair-option-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .repair-option-details h4 {
        font-size: 0.9rem;
    }
    
    .repair-option-details p {
        font-size: 0.75rem;
    }
    
    .repair-option-check {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
    
    .badge-text {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ===================================
   LOGIN DIALOG STYLES
   =================================== */

.login-dialog-content {
    max-width: 500px;
}

.login-dialog-body {
    padding: 1.5rem;
}

/* Login Form Group */
.login-form-group {
    margin-bottom: 1rem;
}

.login-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.login-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.login-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Primary Button */
.login-primary-btn {
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.login-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.login-primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* OTP Container */
.login-otp-container {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.login-otp-input {
    width: 45px;
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-otp-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.login-otp-input.filled {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

/* Timer Container */
.login-timer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.login-timer-text {
    font-size: 0.85rem;
    color: #666;
}

.login-resend-btn {
    background: none;
    border: none;
    color: #3498db;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.login-resend-btn:hover {
    color: #2ecc71;
}

/* Loading State */
.login-loading-container {
    text-align: center;
    padding: 2rem 1rem;
}

.login-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-loading-container p {
    font-size: 0.9rem;
    color: #666;
}

/* Alert Container */
.login-alert-container {
    margin-bottom: 1rem;
    min-height: 20px;
}

.login-alert {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Mobile Optimizations for Login Dialog */
@media (max-width: 480px) {
    .login-dialog-body {
        padding: 1rem;
    }
    
    .login-form-group label {
        font-size: 0.85rem;
    }
    
    .login-input {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .login-primary-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .login-otp-input {
        width: 40px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .login-otp-container {
        gap: 0.5rem;
    }
    
    .login-timer-text {
        font-size: 0.8rem;
    }
    
    .login-resend-btn {
        font-size: 0.8rem;
    }
    
    .login-spinner {
        width: 35px;
        height: 35px;
        border-width: 2px;
    }
    
    .login-loading-container p {
        font-size: 0.85rem;
    }
}
