* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Background Image */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/bg-priceUpdate.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Logo */
.logo {
    position: fixed;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    z-index: 1100;
}

/* Modal Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

/* Modal Card */
.modal-card {
    background: white;
    border-radius: 30px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Modal Body */
.modal-body {
    padding: 50px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Version Selector */
.version-selector {
    width: 100%;
}

.selector-title {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.selector-subtitle {
    color: #000000;
    font-size: 15px;
    text-align: center;
    margin-bottom: 35px;
    line-height: 1.5;
    font-weight: 400;
}

/* Version Options Container */
.version-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

/* Version Option Button */
.version-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.version-option:hover {
    border-color: #dee2e6;
    background: #f1f1f4;
}


/* Version Header */
.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.version-label {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.version-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-badge.stable {
    background: #dfffea;
    color: #17c653;
}

.version-badge.experimental {
    background: #ffeef3;
    color: #f8285a;
}

/* Version Content */
.version-content h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.version-content p {
    color: #000000;
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 500;
}

.version-features {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.version-features li {
    color: #495057;
    font-size: 13px;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.version-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Version Footer */
.version-footer {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.select-text {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}



/* Info Note */
.info-note {
    text-align: center;
    color: #000000;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 20px;
}

/* Active/Selected State */
.version-option.selected {
    border-color: #007bff;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
}

.version-option.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Responsive Design for Tablets */
@media (max-width: 768px) {
    .modal-card {
        max-width: 600px;
    }
    
    .version-options {
        gap: 15px;
    }
    
    .version-option {
        padding: 18px;
    }
}

/* Responsive Design for Mobile */
@media (max-width: 575px) {
    body::before {
        position: relative;
        height: 100vh;
    }
    
    .logo {
        width: 40px;
        height: 40px;
        top: 20px;
        left: 20px;
    }
    
    .modal-card {
        width: 95%;
        border-radius: 20px;
        max-width: none;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .selector-title {
        font-size: 24px;
    }
    
    .selector-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .version-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .version-option {
        padding: 16px;
    }
    
    .version-label {
        font-size: 20px;
    }
    
    .version-content h3 {
        font-size: 16px;
    }
    
    .info-note {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .modal-body {
        padding: 25px 15px;
    }
    
    .selector-title {
        font-size: 18px;
    }
}

/* Warning View Styles */
.warning-view {
    width: 100%;
    text-align: center;
}

.warning-icon {
    margin-bottom: 20px;
}

.warning-icon svg {
    color: #f8285a;
}

.warning-title {
    color: #f8285a !important;
    margin-bottom: 15px;
}

.warning-text {
    color: #f8285a;
    font-size: 18px;
    margin: 20px 0 50px 0;
    font-weight: 400;
}

.simple-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.simple-btn {
    padding: 12px 40px;
    border: 2px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.simple-btn:hover {
    background: #f1f1f4;
}

.simple-btn-proceed {
    background: #f8f9fa;
    color: #000000;
    border-color: #e9ecef;
}

.simple-btn-proceed:hover {
    background: #f1f1f4;
}