﻿.patientcontacttype {
    display: none;
}

.btnGuide1 {
    background-color: #1E5AC8;
    border-radius: 0;
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font: bold 13px/22px Arial,Helvetica,sans-serif;
    padding: 2px 6px;
    vertical-align: middle;
    border-width: 0px;
}

.loading-overlay {
    background-color: #000000e3;
}

#RadWindowWrapper_UserListDialog {
    Left: 200px !important;
}

.btndesign {
    width: 50%;
    float: right;
}

.txtarea {
    text-align: left;
    border: 2px solid #1d4871 !important;
    color: #1d4871;
    font-size: 18px;
    width: 100%;
}

.RadListBox_Default .rlbText {
    color: #1d4871 !important;
    margin-left: 1%;
}

.RadListBox_Default .rlbGroup {
    border: 2px solid #1d4871 !important;
    text-align: left !important;
}

.memory-section {
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

    .memory-section h3 {
        color: #17375e;
        font-size: 20px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .memory-section p.intro {
        margin-bottom: 25px;
        font-size: 16px;
    }

.memory-question {
    margin-bottom: 20px;
}

    .memory-question label {
        display: block;
        font-weight: 500;
        margin-bottom: 8px;
        font-size: 15px;
    }

.memory-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.custom-radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

    .custom-radio-list input[type="radio"] {
        display: none;
    }

    .custom-radio-list label {
        background: #3f6570;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        cursor: pointer;
        transition: background 0.3s ease;
        color: #FFF;
    }

    .custom-radio-list input[type="radio"]:checked + label {
        background: #4a90e2;
        color: white;
        font-weight: bold;
    }


.question-label {
    text-align: justify;
    font-size: 16px;
    padding-bottom: 10px;
    display: block;
    color: #17375e;
    font-weight: 500;
    line-height: 1.5;
}

.form-teamcode {
    width: 974px;
}

.mt-15 {
    margin-top: 15px;
}

.text-danger {
    color: #FF0000;
}

.rwControlButtons {
    width: 157px !important;
}

.overlay {
    position: absolute;
    z-index: 99999999;
    top: 0px;
    left: 0px;
    background-color: #AAD3E2;
    width: 100%;
    height: 100%;
    filter: Alpha(Opacity=70);
    opacity: 0.70;
    -moz-opacity: 0.70;
    font-size: 0px;
    line-height: 0px;
}

.ProgressBar {
    z-index: 99999999;
    position: fixed;
    top: 40%;
    left: 45%;
}

.custom-listbox {
    width: 240px;
    height: 155px;
    border: 2px solid #1d4871;
    overflow-y: auto;
    background: #fff;
    padding: 5px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    cursor: pointer;
    color: #1d4871;
    font-size: 14px;
    margin-bottom: 2px;
}

    .list-item:hover {
        background-color: #dcdcdc;
    }

    .list-item input[type="checkbox"] {
        margin: 0;
    }

/* Clean Modern Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #0f172a;
    min-height: 100vh;
    margin: 0;
}

.app-container {
    width: 100%;
    max-width: 1050px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin: 10px auto;
}

/* Form Workspace Panel */
.workspace-panel {
    padding: 48px 56px;
    background: #ffffff;
}

/* Header Components */
.header-block {
    margin-bottom: 28px;
    position: relative;
}

.header-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

/* Embedded Network Icon */
.header-badge-icon {
    width: 38px;
    height: 38px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    padding: 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .header-badge-icon svg {
        width: 100%;
        height: 100%;
    }

.header-block h2 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

#show_list {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

    #show_list:hover {
        color: #e0531f;
    }

/* Info Drawer */
.info-drawer {
    display: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

    .info-drawer p {
        font-size: 0.9rem;
        color: #475569;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .info-drawer ul {
        list-style: none;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

        .info-drawer ul li {
            font-size: 0.85rem;
            color: #334155;
            padding-left: 18px;
            position: relative;
            font-weight: 500;
        }

            .info-drawer ul li::before {
                content: "✓";
                color: #ff6b35;
                font-weight: bold;
                position: absolute;
                left: 0;
            }

/* Core Form UI Stack */
.form-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

/* Standardized Inputs */
.form-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.15s ease;
}

    .form-input:focus {
        outline: none;
        border-color: #ff6b35;
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
    }

    .form-input::placeholder {
        color: #94a3b8;
    }

select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 15px;
    padding-right: 36px;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.input-text-area {
    height: auto;
    padding: 12px 14px;
    resize: vertical;
    min-height: 80px;
}

/* Segmented Selector Tool */
.segmented-selector {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
    border: 1px solid #e2e8f0;
}

    .segmented-selector label {
        flex: 1;
        text-align: center;
        padding: 10px 4px;
        font-size: 0.88rem;
        font-weight: 600;
        color: #475569;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.15s ease;
        white-space: nowrap;
    }

    .segmented-selector input[type="radio"],
    .segmented-selector input[type="checkbox"] {
        display: none;
    }

    .segmented-selector input:checked + label {
        background: #ffffff;
        color: #0f172a;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }

/* Embedded Survey Module */
.survey-module {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 12px;
}

    .survey-module h3 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 6px;
        color: #0f172a;
    }

    .survey-module p {
        font-size: 0.9rem;
        color: #475569;
        line-height: 1.5;
        margin-bottom: 16px;
    }

.captcha-module {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    text-align: -webkit-center;
}

/* Submit Command */
.btn-action-trigger {
    background: #ff6b35;
    color: #ffffff;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
    transition: all 0.2s ease;
}

    .btn-action-trigger:hover {
        background: #e0531f;
        box-shadow: 0 6px 16px rgba(255, 107, 53, 0.25);
    }

    .btn-action-trigger:active {
        transform: scale(0.99);
    }

body {
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;
}

.overlay {
    position: fixed;
    z-index: 99999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /*             background-color: rgba(0,0,0,0.5); */
}

.ProgressBar {
    position: fixed;
    z-index: 999999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-checkbox-list {
    /*             display: flex; */
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

    .custom-checkbox-list input[type="radio"] {
        display: none;
    }

    .custom-checkbox-list label {
        border: 1px solid #cbd5e1;
        background: #fff;
        padding: 10px 18px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 14px;
        font-weight: 500;
        color: #334155;
    }

        .custom-checkbox-list label:hover {
            border-color: #ff6b35;
            background: #fff7f3;
            color: #ff6b35;
        }

    .custom-checkbox-list input[type="radio"]:checked + label {
        background: #ff6b35;
        color: #fff;
        border-color: #ff6b35;
        box-shadow: 0 4px 10px rgba(255, 107, 53, 0.20);
    }

.form-input.error {
    border: 2px solid #dc3545 !important;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

    .form-input.error:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
    }

.input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    align-items: start;
}

.validation-error {
    color: #dc3545;
    font-size: 13px;
}

.spanerrormsg {
    display: none;
    margin-top: 8px;
}

.custom-d-none {
    display: none;
}

.custom-fontweight {
    font-weight: 400;   
}

.custom-answerdiv {
    margin-top: 10px;
    margin-bottom: 5px
}

.custom-paragraph-header {
    color: #000000;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Responsive Breakpoints */
@media (max-width: 640px) {
    body {
        padding: 16px 12px;
    }

    .workspace-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .workspace-panel {
        padding: 24px 16px;
    }

    .segmented-selector label {
        font-size: 0.82rem;
        padding: 10px 2px;
    }

    .survey-module {
        padding: 16px;
    }
}
