/* MatSoft registration, subscription and completion screens. */

.ms-trial-page {
    margin: 0;
    background: #f3f6fa;
    color: #172234;
    font-family: Inter,Arial,sans-serif;
    min-height: 100dvh;
    padding: 32px 20px;
    box-sizing: border-box;
    --ms-text: 1rem;
    --ms-text-lead: 1.125rem;
    --ms-text-small: .875rem;
    --ms-text-label: .75rem;
    --ms-text-card: 1.375rem;
    --ms-text-section: 2.125rem;
    --ms-text-hero: clamp(2rem, 3.65vw, 3.125rem);
    --ms-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: var(--ms-text);
}

.ms-trial-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.ms-trial-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--ms-text-card);
    font-weight: 800;
    text-decoration: none;
    color: #172234;
    margin-bottom: 32px;
}

.ms-trial-brand img {
    width: 35px;
    height: 35px;
}

.ms-trial-card {
    background: white;
    border: 1px solid #dce4ee;
    border-radius: 5px;
    padding: 32px;
    box-shadow: none;
}

.ms-trial-card h1 {
    font-size: clamp(27px,5vw,38px);
    letter-spacing: -.04em;
    line-height: 1.15;
    margin: 14px 0;
}

.ms-trial-card p {
    color: #667085;
    line-height: 1.65;
}

.ms-trial-eyebrow {
    font-size: var(--ms-text-small);
    letter-spacing: .14em;
    font-weight: 750;
    color: #1769e0;
}

.ms-trial-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 24px 0;
}

.ms-trial-fields label {
    display: grid;
    gap: 8px;
    font-size: var(--ms-text);
    font-weight: 650;
}

.ms-trial-fields input {
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 4px;
    padding: 13px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: var(--ms-text);
}

.ms-trial-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: #132f48;
    color: #fff;
    font-size: var(--ms-text);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.ms-trial-button.secondary {
    background: #eef3f8;
    color: #172234;
}

.ms-trial-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ms-trial-actions form {
    margin: 0;
}

.ms-trial-meta {
    background: #f3f7fc;
    border: 1px solid #dce6f3;
    border-radius: 5px;
    padding: 18px;
    margin: 22px 0;
    line-height: 1.7;
}

.ms-trial-note {
    font-size: var(--ms-text-small);
    line-height: 1.65;
    color: #667085;
}

.ms-trial-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
    padding: 14px;
    border-radius: 12px;
}

.ms-trial-success {
    background: #eefbf5;
    color: #14532d;
    padding: 14px;
    border-radius: 12px;
}

.ms-trial-footer {
    display: flex;
    justify-content: center;
    gap: 7px;
    font-size: var(--ms-text-small);
    color: #667085;
    margin: 25px;
}

.ms-trial-footer img {
    width: 18px;
}

.ms-trial-card :focus-visible {
    outline: 3px solid #1769e0;
    outline-offset: 3px;
}

.ms-trial-clarity {
    font-size: var(--ms-text-small);
    line-height: 1.65;
    color: #536579;
    max-width: 580px;
}

.ms-trial-clarity a {
    color: inherit;
    text-underline-offset: 3px;
}

.ms-design-optional {
    border: 1px solid #dce5ef;
    border-radius: 14px;
    margin: 20px 0;
    padding: 16px;
}

.ms-design-optional>summary {
    font-size: var(--ms-text);
    font-weight: 700;
    cursor: pointer;
    min-height: 28px;
}

.ms-design-optional p {
    font-size: var(--ms-text-small);
}

.ms-design-optional .ms-template-picker {
    margin-top: 16px;
}

.ms-trial-card .ms-trial-meta li {
    margin: 8px 0;
    line-height: 1.55;
}

.ms-trial-card .ms-trial-meta a {
    color: #1d5793;
}

.ms-trial-page .ms-trial-card {
    border-radius: 5px;
    box-shadow: none;
}

.ms-trial-page .ms-trial-meta {
    border-radius: 5px;
    box-shadow: none;
}

.ms-trial-page .ms-design-optional {
    border-radius: 5px;
    box-shadow: none;
}

.ms-trial-page .ms-trial-button {
    border-radius: 4px;
    background: #132f48;
}

.ms-trial-page .ms-trial-fields input {
    border-radius: 4px;
}

.ms-trial-page .ms-trial-button.secondary {
    background: #f0f4f8;
    color: #1d3850;
}

.ms-trial-page .ms-trial-brand img {
    border-radius: 4px;
}

.ms-trial-logout {
    margin-top: 24px;
}

@media (max-width:600px) {
    .ms-trial-card {
        padding: 24px 18px;
    }

    .ms-trial-fields {
        grid-template-columns: 1fr;
    }

    .ms-trial-actions>* {
        width: 100%;
    }

    .ms-trial-actions .ms-trial-button {
        width: 100%;
    }

}

