* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height:100vh;
}

.portal-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

/* LEFT SIDE */

.brand-block {
    text-align: center;
    max-width: 420px;
}

.portal-logo {
    width: 140px;
    margin-bottom: 20px;
}

.brand-block h1 {
    font-size: 42px;
    color: #004080;
    margin-bottom: 10px;
}

.brand-block p {
    font-size: 20px;
    color: #666;
}

/* RIGHT CARD */

.portal-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

/* TABS */

.portal-tabs {
    display: flex;
    margin-bottom: 30px;
    border-radius: 14px;
    overflow: hidden;
    background: #f2f2f2;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 14px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
}

.tab.active {
    background: #004080;
    color: white;
}

/* FORM */

.portal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portal-form input {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d7d7d7;
    font-size: 15px;
}

.portal-form input:focus {
    outline: none;
    border-color: #004080;
}

/* BUTTON */

.portal-form button {
    background: #004080;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.portal-form button:hover {
    background: #0059b3;
}

/* ALERTS */

.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert.error {
    background: #ffe5e5;
    color: #b30000;
}

.alert.success {
    background: #e8ffea;
    color: #006b1b;
}

/* EXTRA */

.forgot {
    text-align: center;
    color: #004080;
    text-decoration: none;
    font-size: 14px;
}

.portal-note {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin-top: 5px;
}

/* MOBILE */

@media (max-width: 768px) {

    .portal-page {
        gap: 25px;
        padding: 30px 15px;
    }

    .brand-block h1 {
        font-size: 32px;
    }

    .brand-block p {
        font-size: 16px;
    }

    .portal-card {
        padding: 25px;
    }
}