body {
    margin: 0;
    padding: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    background: #f4f6f8;
    font-size: 20px;
}

.mobile-wrapper {
    max-width: 520px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 16px;
    box-sizing: border-box;
    background: white;
}

h1 {
    font-size: 26px;
    margin: 10px 0 16px 0;
    text-align: center;
}

.small-note {
    text-align: center;
    color: #555;
    font-size: 16px;
    margin-bottom: 18px;
}

.status {
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-weight: bold;
}

.error {
    background: #fee2e2;
    color: #991b1b;
}

.success {
    background: #dcfce7;
    color: #166534;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    margin-top: 14px;
}

input {
    width: 100%;
    font-size: 22px;
    padding: 14px;
    box-sizing: border-box;
    border: 2px solid #999;
    border-radius: 6px;
}

button,
.submit-button {
    width: 100%;
    font-size: 22px;
    padding: 18px;
    border: none;
    border-radius: 8px;
    background: #16a34a;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 18px;
}

.menu-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
    margin-top: 14px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.back-button {
    display: block;
    margin-top: 26px;
    text-align: center;
    padding: 16px;
    background: #374151;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.portal-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    margin-top: 18px;
    background: #fafafa;
}

.portal-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 16px;
    color: #555;
}

.portal-footer a {
    color: #2563eb;
    font-weight: bold;
    text-decoration: none;
}
/*
|--------------------------------------------------------------------------
| Dashboard cards
|--------------------------------------------------------------------------
*/

.meta {
    color: #444;
    margin-top: 8px;
    line-height: 1.5;
}

.empty {
    padding: 16px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    color: #555;
    font-weight: bold;
}
.portal-card {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    margin-top: 18px;
    background: #fafafa;
}

.menu-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
    margin-top: 14px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.menu-button.primary {
    background: #16a34a;
}

.menu-button.logout {
    background: #dc2626;
    margin-top: 28px;
}
.tenant-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
}

.subscription-box {
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    background: #f3f4f6;
}

.subscription-active {
    border: 2px solid #16a34a;
}

.subscription-expired {
    border: 2px solid #dc2626;
}

.subscription-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 12px;
}

.subscription-line span {
    color: #555;
    font-size: 16px;
}

.subscription-line strong {
    font-size: 20px;
    color: #111827;
}
