/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*Auth Page Stuff*/
.auth-page {
    min-height: 100vh;
    background:
            radial-gradient(circle at top left, rgba(15, 23, 42, 0.12), transparent 28rem),
            radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.14), transparent 26rem),
            linear-gradient(180deg, #f8fafc 0%, #fff7ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.auth-card-wide {
    max-width: 760px;
}

.auth-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.auth-card h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
    color: #0f172a;
}

.auth-subtitle {
    margin: 10px 0 28px;
    color: #475569;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.auth-field input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
}

.auth-field input:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-label-row a,
.auth-footer a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.auth-label-row a:hover,
.auth-footer a:hover {
    text-decoration: underline;
}

.auth-submit {
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    background: #0f172a;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.auth-submit:hover {
    background: #1e293b;
}

.auth-footer {
    margin: 24px 0 0;
    text-align: center;
    color: #475569;
    font-size: 14px;
}

.auth-alert {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.auth-notice {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.auth-back-link {
    margin: 0 0 18px;
    font-size: 14px;
}

.auth-back-link a {
    color: #475569;
    font-weight: 700;
    text-decoration: none;
}

.auth-back-link a:hover {
    text-decoration: underline;
}

.auth-error-list {
    margin: 0;
    padding-left: 18px;
}

.app-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-field {
    min-width: 0;
}

.app-field textarea {
    width: 100%;
    min-height: 120px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    resize: vertical;
}

.app-field--full {
    grid-column: 1 / -1;
}

.app-hint {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
}

.settings-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.settings-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.settings-section-header {
    margin-bottom: 18px;
}

.settings-section-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
}

.settings-section-header p {
    margin: 8px 0 0;
    color: #64748b;
    line-height: 1.6;
}

.settings-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.settings-badge--verified {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.settings-badge--pending {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.settings-action-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.settings-secondary-actions {
    margin-top: 14px;
}

/*Landing Page Stuff*/
.landing-page {
    min-height: 100vh;
    background:
            radial-gradient(circle at top left, rgba(15, 23, 42, 0.12), transparent 28rem),
            radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.14), transparent 26rem),
            linear-gradient(180deg, #f8fafc 0%, #fff7ed 100%);
    padding: 32px 20px 56px;
}

.landing-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 56px;
}

.landing-eyebrow,
.landing-kicker {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.landing-nav,
.landing-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.landing-copy,
.landing-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.landing-copy {
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.landing-copy::before {
    content: "";
    position: absolute;
    inset: auto -80px -90px auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 70%);
    pointer-events: none;
}

.landing-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: 46px;
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.landing-description {
    margin: 22px 0 30px;
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
    max-width: 44rem;
}

.landing-actions {
    margin-bottom: 24px;
}

.landing-coming-soon {
    border: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 18px 20px;
    max-width: 42rem;
}

.coming-soon-label {
    margin: 0 0 8px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.coming-soon-copy {
    margin: 0;
    color: #7c2d12;
    line-height: 1.6;
}

.landing-card {
    padding: 30px;
    position: relative;
}

.landing-card h3 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: 24px;
}

.landing-card-accent {
    width: 54px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0f172a 0%, #f97316 100%);
    margin-bottom: 18px;
}

.landing-steps {
    margin: 0;
    padding-left: 22px;
    color: #334155;
    display: grid;
    gap: 12px;
    line-height: 1.6;
}

.landing-quote {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.landing-quote p {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

/*Dashboard Page Stuff*/
.dashboard-page {
    min-height: 100vh;
    background:
            radial-gradient(circle at top left, rgba(15, 23, 42, 0.12), transparent 30rem),
            radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.14), transparent 28rem),
            linear-gradient(180deg, #f8fafc 0%, #fff7ed 100%);
    padding: 32px 20px;
}

.dashboard-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.dashboard-eyebrow {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-header h1 {
    margin: 0;
    color: #0f172a;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.dashboard-subtitle {
    margin: 12px 0 0;
    color: #475569;
    font-size: 16px;
    max-width: 520px;
}

.dashboard-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 12px;
    padding: 0 16px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.primary-button {
    border: 0;
    background: #0f172a;
    color: white;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.primary-button:hover {
    background: #1e293b;
}

.secondary-button {
    border: 1px solid #cbd5e1;
    background: white;
    color: #334155;
}

.secondary-button:hover {
    background: #f1f5f9;
}

.dashboard-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 22px;
}

.dashboard-alert-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    background: #f59e0b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.dashboard-alert-title {
    margin: 0 0 4px;
    font-weight: 900;
}

.dashboard-alert p,
.dashboard-flash p {
    margin: 0;
}

.dashboard-flash {
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.dashboard-flash.notice {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.dashboard-flash.alert {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.stat-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.dashboard-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.card-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
}

.card-header p {
    margin: 8px 0 0;
    color: #64748b;
}

.count-pill {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.reminder-list {
    display: grid;
    gap: 14px;
    padding-top: 18px;
}

.reminder-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.reminder-item h3 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
}

.reminder-item p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
}

.reminder-actions-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
}

.inline-action-link,
.inline-action-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.inline-action-link:hover,
.inline-action-button:hover {
    text-decoration: underline;
}

.inline-action-form {
    display: inline;
}

.reminder-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #0f172a;
    margin-top: 6px;
}

.reminder-dot.muted {
    background: #94a3b8;
}

.empty-state {
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
}

.empty-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.empty-state h3 {
    margin: 0;
    color: #0f172a;
}

.empty-state p {
    margin: 10px 0 0;
    color: #64748b;
}

@media (max-width: 960px) {
    .dashboard-stats,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .landing-header,
    .landing-hero,
    .app-form-grid {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px;
    }

    .landing-header {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .landing-nav,
    .landing-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .landing-copy,
    .landing-card {
        padding: 24px;
    }

    .landing-copy h2 {
        font-size: 34px;
    }

    .dashboard-header {
        flex-direction: column;
    }

    .dashboard-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }
}
