.sm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    overflow: auto;
}

.sm-modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 650px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sm-modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    border: none;
    background: none;
    padding: 5px;
    transition: color 0.3s ease;
}

.sm-modal-close:hover {
    color: #007cba;
}

.sm-nexus-form {
    text-align: center;
}

.sm-form-step {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.sm-form-step[data-step="1"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sm-form-step.slide-in {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sm-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.sm-form-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.sm-nexus-question {
    margin-bottom: 20px;
}

.sm-radio-option {
    display: block;
    padding: 15px 20px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-bottom: 10px;
}

.sm-radio-option:hover {
    background-color: #f0f0f0;
    border-color: #007cba;
}

.sm-radio-option input[type="radio"] {
    margin-right: 15px;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    background: #fff;
}

.sm-radio-option input[type="radio"]:checked {
    border-color: #007cba;
}

.sm-radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #007cba;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sm-btn-primary, .sm-btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px 5px;
}

.sm-btn-primary {
    background-color: #007cba;
    color: #fff;
}

.sm-btn-primary:hover {
    background-color: #005f8d;
    transform: translateY(-2px);
}

.sm-btn-secondary {
    background-color: #fff;
    color: #007cba;
    border: 2px solid #007cba;
}

.sm-btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.sm-nexus-result {
    margin-top: 20px;
    text-align: center;
}

.sm-result-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.sm-result-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.sm-btn-expert {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background-color: #ff4444;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px 5px;
}

.sm-btn-expert:hover {
    background-color: #cc3333;
    transform: translateY(-2px);
}

.no-bottom-margin{
    margin-bottom: 0px !important;
}

.sm-btn-state {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #007cba;
    background-color: #fff;
    color: #007cba;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    margin: 10px 5px;
}

.sm-btn-state:hover {
    background-color: #f0f0f0;
    border-color: #005f8d;
    transform: translateY(-2px);
}

.sm-result-buttons {
    margin-top: 20px;
    text-align: center;
}

@media (max-width: 1024px){
    .sm-modal-content {
        width: 85%;
        margin: 20% auto;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .sm-modal-content {
        width: 85%;
        margin: 30% auto;
        padding: 20px;
    }

    .sm-form-title, .sm-result-title {
        font-size: 24px;
    }

    .sm-form-subtitle, .sm-result-subtitle {
        font-size: 16px;
    }

    .sm-radio-option, .sm-btn-primary, .sm-btn-secondary {
        font-size: 16px;
        padding: 10px 15px;
    }
}