/* sticky button */
.sticky-button {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2000;
    /* Add other styles as needed */
    background: #064cb5;
    color: #fff;
    border: 1px solid #064cb5;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    /* removed float (not needed for fixed elements) */
}

/* Deal ID form popup */
div#dealIDForm {
    background-image: linear-gradient(45deg, #a0ddf5, #569cd4);
    width: 100%;
    max-width: 400px;
    position: fixed;
    right: 8px;
    bottom: 8px;
    padding: 40px 20px;
    border-radius: 10px;
    z-index: 2001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; /* keep hidden by default; inline style in HTML will also work */
    box-sizing: border-box;
}

/* container helper */
.curation-page {
    position: relative;
}

/* inputs and textarea inside popup */
div#dealIDForm input,
div#dealIDForm textarea {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box; /* ensure padding doesn't break width */
}

/* submit button style for popup */
div#dealIDForm .deal-send {
    color: #fff;
    background: #1F69DA;
    border-radius: 5px;
    border: 1px solid #1f69DA;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    cursor: pointer;
    display: block;
}

/* close button */
div#dealIDForm .close-button {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 0;
}

/* Make sure the FA icon is visible / gets the background */
div#dealIDForm .close-button i.fa.fa-close,
div#dealIDForm .close-button i.fa.fa-times {
    color: #fff;
    background: #b90e0e;
    padding: 8px 9px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 16px;
    display: inline-block;
    line-height: 1;
}

.close-head {
    margin-bottom: 10px;
}

/* responsive small-screen adjustments so popup doesn't overflow */
@media (max-width: 420px) {
    div#dealIDForm {
        right: 8px;
        left: 8px;
        max-width: none;
        width: auto;
        padding: 20px;
    }
}

.deal-btn-sec {
    text-align: center; /* keeps button roughly centered */
    margin-top: 20px;
    width: 100%;
}
.crs-report-btn-sec{
    width: 100%;
}
.button-footer-main .deal-btn,
.deal-btn-sec .deal-btn {
    background: #3db8d7d9;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 500;
    width: 100%; /* same width as evaluation button */
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;

    /* Move slightly left */
    position: relative;
    left: -1px; /* negative value shifts left */
}

/* .deal-btn-sec .deal-btn:hover {
    background: #053a8a;
} */



.grayed-out {
    background-color: #f5f5f5;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.toggle-switch {
    position: absolute;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-right: 10px;
    top: 10px;
    right: 10px;
}

tr.site-row td {
    position: relative;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.persona-site {
    color: #1A2D93;
}
.password-mismatch-error {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
}
.persona-tabl .table tr td:last-child .toggle-switch {
    position: relative;
    top: 20px;
}
.persona-tabl .table tr:last-child:has(td.tope.bg-none) {
    background: transparent !important;
}
.persona-tabl .table tr:last-child:has(td.tope.bg-none) td.tope {
    background: #1F69DA;
}
.persona-tabl .table tr:last-child td.tope.bg-none {
    background: none !important;
}

.beta-badge {
    margin-left: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1F69DA;
    padding: 2px 6px;
    border-radius: 6px;
    background-color: rgba(31, 105, 218, 0.10);
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.4px;
}
