@import url("oxygen_material_form.css");

/* Guest trial layout only — php/trial_forms.php. Single neutral theme (white / black). */

#trial .trial-guest-wrap.oxygen-material-form {
    --brand-primary: #1e293b;
    --brand-dark: #0f172a;
    --brand-darker: #020617;
    --bg-body: #ffffff;
    --bg-panel: #ffffff;
    --text-main: #000000;
    --text-muted: #475569;
    --border-light: #e2e8f0;
    --error-color: #ef4444;
    --error-bg: #fef2f2;
    --radius-lg: 1rem;
    --radius-md: 0.5rem;
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    box-sizing: border-box;
    width: 100%;
    margin: 1.5rem 0 2rem;
}

#trial .trial-guest-wrap *,
#trial .trial-guest-wrap *::before,
#trial .trial-guest-wrap *::after {
    box-sizing: border-box;
}

#trial .trial-guest-wrap .trial-container {
    max-width: 1024px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-panel);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    #trial .trial-guest-wrap .trial-container {
        flex-direction: row;
    }
}

#trial .trial-guest-wrap .panel-info {
    background-color: #ffffff;
    color: #000000;
    padding: 0 2.5rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    #trial .trial-guest-wrap .panel-info {
        width: 41.666%;
        padding: 0 3rem 3rem;
        border-right: 1px solid var(--border-light);
    }
}

#trial .trial-guest-wrap .panel-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

#trial .trial-guest-wrap .info-text {
    color: #000000;
    font-size: 0.95rem;
    position: relative;
    z-index: 10;
    flex-grow: 1;
}

#trial .trial-guest-wrap .info-box {
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 4em;
    font-family: 'robotolight', Arial, Helvetica, sans-serif;
}

#trial .trial-guest-wrap .info-box a {
    font-weight: bold;
    color: #1860A8;
    text-decoration: underline;
}

#trial .trial-guest-wrap .info-box a:hover {
    color: #334155;
}

.info-box p {
    margin-top: 0;
}

#trial .trial-guest-wrap .panel-footer {
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 10;
}


#trial .trial-guest-wrap .panel-form {
    padding: 0 2.5rem 2.5rem;
    background-color: var(--bg-panel);
}

@media (min-width: 768px) {
    #trial .trial-guest-wrap .panel-form {
        width: 58.333%;
        padding: 0 3rem 3rem;
    }
}

#trial .trial-guest-wrap .panel-form .form-header,
#trial .trial-guest-wrap .form-header {
    padding-bottom: 1em;
    
}

#trial .trial-guest-wrap .form-header h3 {
    font-size: 1.4rem;
}

/* Guest trial form column: brand line + focus accents (see php/trial_forms.php .form-trial) */
#trial .trial-guest-wrap .form-trial {
    --brand-primary: #183a74;
    --brand-dark: #183a74;
    --brand-darker: #142952;
}

#trial .trial-guest-wrap .form-trial .md-form-field:not(.has-error):not(:has(.bg-red)):not(:has(.is-invalid)) {
    border-bottom-color: #183a74;
}

#trial .trial-guest-wrap .form-trial .privacy-text a {
    color: #183a74;
    text-decoration: underline;
}

#trial .trial-guest-wrap .form-trial .privacy-text a:hover {
    color: #142952;
}

/* Trial submit (trial_forms.js) — same look as .btn-submit */
#trial .trial-guest-wrap .btn-submit,
#trial .trial-guest-wrap button.btn-trial-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    min-width: 160px;
    margin-top: 0;
    background-color: #183a74;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

#trial .trial-guest-wrap .btn-submit:hover,
#trial .trial-guest-wrap button.btn-trial-submit:hover {
    background-color: #142952;
    opacity: 1 !important;
}

#trial .trial-guest-wrap .btn-submit:active,
#trial .trial-guest-wrap button.btn-trial-submit:active {
    transform: scale(0.98);
}

#trial .trial-guest-wrap button.btn-trial-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 639px) {
    #trial .trial-guest-wrap .btn-submit,
    #trial .trial-guest-wrap button.btn-trial-submit {
        width: 100%;
    }
}

#trial .trial-guest-wrap button.btn-trial-submit .login-loader {
    vertical-align: middle;
}
