html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
}

.app-body {
    margin: 0;
    background: #f4f7fb;
    font-family: Arial, sans-serif;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 12px;
    box-sizing: border-box;
}

.app-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.app-logo-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.app-logo {
    display: block;
    max-width: 260px;
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.app-top-bar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.app-section-title {
    color: #123c7c;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
}

.app-label {
    display: block;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 4px;
}

.app-input,
.app-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 9px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.app-textarea {
    min-height: 70px;
    resize: vertical;
}

.app-button {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.app-button-primary {
    background: #0d6efd;
    color: white;
}

.app-button-secondary {
    background: #e9eef7;
    color: #123c7c;
}

.app-message {
    margin-top: 14px;
    padding: 10px;
    border-radius: 8px;
}

.app-message-success {
    background: #d1e7dd;
    color: #0f5132;
}

.app-message-error {
    background: #f8d7da;
    color: #842029;
}

.portal-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.portal-action-card {
    background: #0d6efd;
    color: white;
    text-decoration: none;
    border-radius: 14px;
    padding: 25px;
    transition: 0.25s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

    .portal-action-card:hover {
        transform: translateY(-4px);
        background: #0b5ed7;
        color: white;
        text-decoration: none;
    }

.portal-action-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.portal-action-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portal-action-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
}
.login-page-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 12px;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    box-sizing: border-box;
}

.app-title {
    color: #123c7c;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

.app-subtitle {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 18px;
}