.exrs-container {
    background: #f8fafc;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exrs-main-wrapper {
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 1px auto;
}


.exrs-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.exrs-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.exrs-subtitle {
    color: #6c757d;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
}

.exrs-section-block {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.exrs-section-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.exrs-section-blocked {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.exrs-section-blocked:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.exrs-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #2c3e50;
}

.exrs-section-heading::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, #00a79d, #0078d7);
    border-radius: 2px;
}

.exrs-card-group {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    width: 100%;
}

.exrs-option-card {
    background: #ffffff;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.exrs-option-card:hover {
    border-color: #b8d4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 120, 215, 0.1);
}

.exrs-option-card.exrs-selected {
    border-color: #00a79d;
    background: #f0f9f8;
    box-shadow: 0 4px 10px rgba(0, 167, 157, 0.12);
}

.exrs-option-card.exrs-selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #00a79d;
}

.exrs-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s ease;
}

.exrs-option-card:hover .exrs-card-icon {
    transform: scale(1.05);
    background: #f1f5f9;
}

.exrs-option-card.exrs-selected .exrs-card-icon {
    background: #e0f7f5;
    transform: scale(1.05);
}

.exrs-icon-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.exrs-card-label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 4px;
}

.exrs-target-heading {
    color: #0078d7;
    font-weight: 600;
    margin: 1px 0 10px 0;
    font-size: 12px;
}

.exrs-wizard-heading {
    color: #00a79d;
    font-weight: 600;
    margin: 1px 0 10px 0;
    font-size: 12px;
}

.exrs-action-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.exrs-action-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.exrs-primary-action {
    background: linear-gradient(135deg, #00a79d 0%, #0078d7 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 120, 215, 0.2);
}

.exrs-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 120, 215, 0.3);
}

.exrs-cancel-action {
    background: #ffffff;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.exrs-cancel-action:hover {
    background: #f8fafc;
    border-color: #adb5bd;
    color: #495057;
}

.exrs-status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0px;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    display: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.exrs-status-dot {
    width: 8px;
    height: 8px;
    background: #00a79d;
    border-radius: 50%;
    animation: exrs-pulse 2s infinite;
    box-shadow: 0 0 0 3px rgba(0, 167, 157, 0.15);
}

@keyframes exrs-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Tablet View (768px - 1024px) */
@media (max-width: 1024px) {
    .exrs-container {
        padding: 15px;
        align-items: flex-start;
    }
    
    .exrs-main-wrapper {
        width: 100%;
        margin: 10px;
        padding: 25px;
        height: auto;
        max-height: 95vh;
    }
    
    .exrs-card-group {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .exrs-option-card {
        min-height: 110px;
        padding: 16px 8px;
    }
    
    .exrs-card-icon {
        width: 44px;
        height: 44px;
    }
    
    .exrs-icon-img {
        width: 28px;
        height: 28px;
    }
    
    .exrs-card-label {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .exrs-section-block {
        padding: 22px;
        margin-bottom: 24px;
    }
    
    .exrs-action-buttons {
        margin-top: 25px;
        padding-top: 22px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .exrs-container {
        padding: 12px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .exrs-main-wrapper {
        width: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 14px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .exrs-header {
        margin-bottom: 25px;
    }
    
    .exrs-title {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .exrs-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .exrs-card-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .exrs-option-card {
        min-height: 105px;
        padding: 14px 6px;
    }
    
    .exrs-card-icon {
        width: 40px;
        height: 40px;
    }
    
    .exrs-icon-img {
        width: 24px;
        height: 24px;
    }
    
    .exrs-card-label {
        font-size: 11px;
        margin-top: 6px;
    }
    
    .exrs-section-heading {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .exrs-section-block {
        padding: 18px;
        margin-bottom: 20px;
    }
    
    .exrs-target-heading,
    .exrs-wizard-heading {
        font-size: 14px;
        margin: 18px 0 14px 0;
    }
    
    .exrs-action-buttons {
        margin-top: 22px;
        padding-top: 20px;
        gap: 12px;
    }
    
    .exrs-action-btn {
        padding: 14px 24px;
        font-size: 14px;
        min-width: 130px;
    }
    
    .exrs-status-indicator {
        padding: 12px 16px;
        margin-top: 5px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .exrs-container {
        padding: 10px;
        align-items: flex-start;
        padding-top: 15px;
    }
    
    .exrs-main-wrapper {
        padding: 18px;
        border-radius: 12px;
        margin: 0;
        max-height: 92vh;
    }
    
    .exrs-header {
        margin-bottom: 20px;
    }
    
    .exrs-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .exrs-subtitle {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .exrs-card-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .exrs-option-card {
        min-height: 100px;
        padding: 12px 5px;
    }
    
    .exrs-card-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 8px;
    }
    
    .exrs-icon-img {
        width: 22px;
        height: 22px;
    }
    
    .exrs-card-label {
        font-size: 10px;
        margin-top: 5px;
        line-height: 1.3;
        padding: 0 4px;
    }
    
    .exrs-section-heading {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .exrs-section-block {
        padding: 16px;
        margin-bottom: 18px;
    }
    
    .exrs-target-heading,
    .exrs-wizard-heading {
        font-size: 13px;
        margin: 16px 0 12px 0;
    }
    
    .exrs-action-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 18px;
    }
    
    .exrs-action-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 13px;
        min-width: auto;
    }
    
    .exrs-status-indicator {
        padding: 10px 14px;
        margin-top: 5px;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
    .exrs-container {
        padding: 8px;
    }
    
    .exrs-main-wrapper {
        padding: 14px;
        border-radius: 10px;
    }
    
    .exrs-title {
        font-size: 20px;
    }
    
    .exrs-subtitle {
        font-size: 11px;
    }
    
    .exrs-card-group {
        gap: 6px;
    }
    
    .exrs-option-card {
        min-height: 95px;
        padding: 10px 4px;
    }
    
    .exrs-card-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 6px;
    }
    
    .exrs-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .exrs-card-label {
        font-size: 9.5px;
        margin-top: 4px;
    }
    
    .exrs-section-heading {
        font-size: 14px;
    }
    
    .exrs-section-block {
        padding: 14px;
        margin-bottom: 16px;
    }
    
    .exrs-target-heading,
    .exrs-wizard-heading {
        font-size: 12px;
        margin: 14px 0 10px 0;
    }
    
    .exrs-action-btn {
        padding: 12px 18px;
        font-size: 12px;
    }
}