.std-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 23, 24, 0.7); /* Darker milk-glass */
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.std-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #151718; /* Dark terminal background */
    color: #EAEAEA;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    border-radius: 8px;
    z-index: 1001;
    width: 600px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.std-modal-header {
    background-color: #2a2d2e;
    padding: 12px 20px;
    border-bottom: 1px solid #333;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.std-modal-header h3 {
    margin: 0;
    font-size: 14px;
    color: #38bdf8; /* Sky blue */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.std-close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}
.std-close-btn:hover {
    color: #fff;
}

.std-modal-body {
    padding: 20px;
}

.std-steps {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.std-steps p {
    margin: 0 0 8px;
    color: #38bdf8; /* Sky blue text */
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.65);
}

.std-steps p::before {
    content: '$ ';
    opacity: 0.6;
}

.std-email-section {
    margin-top: 20px;
    border-top: 1px dashed #444;
    padding-top: 20px;
}

#std-email {
    width: 100%;
    padding: 10px;
    background-color: #2a2d2e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #EAEAEA;
    font-family: inherit;
    margin-bottom: 10px;
}

#std-email::placeholder {
    color: #888;
}

#std-modal-email {
    width: 100%;
    padding: 10px;
    background-color: #2a2d2e;
    border: 1px solid #444;
    border-radius: 4px;
    color: #EAEAEA;
    font-family: inherit;
    margin-bottom: 10px;
}

#std-modal-email::placeholder {
    color: #888;
}

.std-checkbox label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #aaa;
}

#std-consent {
    margin-right: 8px;
}

#std-progress {
    width: 100%;
    background-color: #2a2d2e;
    border-radius: 5px;
    margin: 15px 0;
    height: 8px;
    border: 1px solid #444;
}

#std-progress div {
    height: 100%;
    width: 0%;
    background-color: #38bdf8; /* Sky blue progress bar */
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

.std-credit-message {
    font-weight: bold;
    color: #0ea5e9; /* sky blue */
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(14, 165, 233, 0.12); /* subtle sky bg */
    border-left: 3px solid #0ea5e9;
}

.std-error {
    color: #ff4d4d;
    font-weight: bold;
}
