@charset "iso-8859-1";

/********** Base **********/
* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #2a2a2a;
}

.trial-body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
    background-attachment: fixed;
}

/********** Layout **********/
.trial-page {
    min-height: 100vh;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trial-card {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 760px;
    padding: 40px 44px 36px 44px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.10);
}

/********** Card header **********/
.trial-card-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef0f3;
}

.trial-logo-wrap {
    display: inline-block;
    margin-bottom: 16px;
}

.trial-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.trial-card-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}

.trial-sub {
    font-size: 14px;
    color: #5e6469;
    margin: 0;
    line-height: 1.6;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.trial-sub strong {
    color: var(--color-login-accent);
    font-weight: 700;
}

/********** Alerts **********/
.trial-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left: 4px solid;
}

.trial-alert-success {
    background-color: #e8f5e9;
    border-left-color: #3B7A3E;
    color: #2f6231;
}

.trial-alert-error {
    background-color: #fdecea;
    border-left-color: #8B2635;
    color: #6d1c28;
}

/********** Sections **********/
.trial-section {
    margin-bottom: 26px;
}

.trial-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef0f3;
}

.trial-section-hint {
    font-size: 13px;
    color: #7a8088;
    margin: -6px 0 14px 0;
    line-height: 1.5;
}

/********** Grid de campos **********/
.trial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 16px;
}

.trial-field {
    display: flex;
    flex-direction: column;
}

.trial-field-wide {
    grid-column: span 2;
}

.trial-field label {
    font-size: 12px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 5px;
    letter-spacing: 0.2px;
}

.trial-field .req {
    color: var(--color-danger);
    margin-left: 1px;
}

.trial-field input,
.trial-field select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dde1e5;
    border-radius: 6px;
    font-size: 14px;
    color: #2a2a2a;
    background-color: #f7f9fb;
    transition: all 0.18s ease;
    font-family: inherit;
    outline: none;
}

.trial-field input:hover,
.trial-field select:hover {
    border-color: #c4cbd1;
}

.trial-field input:focus,
.trial-field select:focus {
    border-color: var(--color-brand);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--color-brand-tint);
}

.trial-meter {
    width: 100%;
    height: 14px;
    margin-top: 12px;
}

/********** Acoes **********/
.trial-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eef0f3;
    gap: 14px;
    flex-wrap: wrap;
}

.trial-btn-link {
    color: var(--color-brand);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
}

.trial-btn-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.trial-btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary-dark);
    height: 46px;
    padding: 0 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    letter-spacing: 0.2px;
    font-family: inherit;
    box-shadow: 0 2px 6px var(--color-brand-tint-strong);
}

.trial-btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 12px var(--color-brand-tint-strong);
    transform: translateY(-1px);
}

.trial-btn-primary:active {
    transform: translateY(0);
}

/********** Disclaimer **********/
.trial-disclaimer {
    margin-top: 18px;
    padding: 12px 14px;
    background-color: #fef3cd;
    border-left: 3px solid #d97706;
    border-radius: 4px;
    font-size: 12px;
    color: #5c4400;
    line-height: 1.5;
}

.trial-disclaimer strong {
    color: #92400e;
}

/********** Rodape **********/
.trial-footer {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    letter-spacing: 0.3px;
    text-align: center;
}

/********** Responsivo **********/
@media (max-width: 700px) {
    .trial-page { padding: 20px 12px; }
    .trial-card { padding: 28px 22px 24px 22px; }
    .trial-card-header h1 { font-size: 22px; }
    .trial-grid { grid-template-columns: 1fr; }
    .trial-field-wide { grid-column: auto; }
    .trial-actions { flex-direction: column-reverse; align-items: stretch; }
    .trial-btn-primary { width: 100%; }
    .trial-btn-link { text-align: center; }
}
