/* ============================================================
   SIAKAD STKIP MUHAMMADIYAH ACEH BARAT DAYA
   MAIN STYLE
   ============================================================ */

:root {

    --primary: #0796d2;
    --primary-dark: #0876a8;
    --primary-deep: #075b86;

    --secondary: #0c6f9e;

    --gold: #f2c94c;
    --gold-dark: #dcae25;

    --green: #15966b;
    --purple: #7656c8;

    --dark: #163247;
    --text: #43576a;
    --muted: #7890a1;

    --white: #ffffff;
    --background: #f4f9fc;

    --border: #e3edf3;

    --shadow:
        0 20px 55px rgba(21, 76, 108, 0.12);

    --radius: 22px;
}


/* ============================================================
   GLOBAL
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
        'Inter',
        Arial,
        sans-serif;

    color: var(--text);

    background:
        linear-gradient(
            135deg,
            #f7fbfe 0%,
            #edf8fd 50%,
            #f9fcfe 100%
        );

    min-height: 100vh;
}


a {
    text-decoration: none;
}


/* ============================================================
   PAGE
   ============================================================ */

.siakad-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    position: relative;

    overflow: hidden;
}


/* ============================================================
   BACKGROUND SHAPES
   ============================================================ */

.background-shape {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(2px);

    z-index: 0;
}

.background-shape-one {

    width: 520px;

    height: 520px;

    background:
        radial-gradient(
            circle,
            rgba(7, 150, 210, 0.09),
            rgba(7, 150, 210, 0)
        );

    top: 50px;

    left: -260px;
}

.background-shape-two {

    width: 480px;

    height: 480px;

    background:
        radial-gradient(
            circle,
            rgba(242, 201, 76, 0.10),
            rgba(242, 201, 76, 0)
        );

    right: -240px;

    bottom: -220px;
}


/* ============================================================
   HEADER
   ============================================================ */

.top-header {

    position: relative;

    z-index: 10;

    padding: 22px 0;

    background:
        rgba(255, 255, 255, 0.88);

    border-bottom:
        1px solid rgba(221, 234, 241, 0.8);

    backdrop-filter: blur(12px);
}

.header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.brand {

    display: flex;

    align-items: center;

    gap: 14px;

    color: var(--dark);
}

.brand-logo {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}

.brand-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;
}

.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.2;
}

.brand-text strong {

    font-size: 21px;

    font-weight: 800;

    color: var(--primary-dark);

    letter-spacing: -0.5px;
}

.brand-text span {

    font-size: 12px;

    color: var(--muted);

    margin-top: 4px;

    font-weight: 500;
}

.header-status {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 15px;

    border-radius: 30px;

    background: #eef9f5;

    color: #17845f;

    font-size: 12px;

    font-weight: 600;
}

.status-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #18ad76;

    box-shadow:
        0 0 0 4px rgba(24, 173, 118, 0.12);
}


/* ============================================================
   MAIN
   ============================================================ */

.main-content {

    position: relative;

    z-index: 2;

    flex: 1;

    display: flex;

    align-items: center;

    padding:
        65px 0
        55px;
}


/* ============================================================
   WELCOME
   ============================================================ */

.welcome-content {

    max-width: 760px;

    padding-right: 35px;
}

.welcome-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 15px;

    border-radius: 30px;

    background: #e8f6fc;

    border: 1px solid #d5edf8;

    color: var(--primary-dark);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 22px;
}

.welcome-badge i {

    color: var(--gold-dark);

    font-size: 15px;
}

.welcome-content h1 {

    font-size:
        clamp(38px, 5vw, 66px);

    line-height: 1.05;

    letter-spacing: -2.5px;

    color: var(--dark);

    font-weight: 800;

    margin: 0 0 22px;
}

.welcome-content h1 span {

    display: block;

    color: var(--primary);

    position: relative;

    width: fit-content;
}

.welcome-content h1 span::after {

    content: '';

    position: absolute;

    left: 2px;

    right: 0;

    bottom: -5px;

    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            rgba(242, 201, 76, 0)
        );
}

.welcome-description {

    max-width: 680px;

    color: #60798a;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 34px;
}

.welcome-description strong {

    color: var(--dark);

    font-weight: 700;
}


/* ============================================================
   FEATURE GRID
   ============================================================ */

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    max-width: 700px;
}

.feature-card {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 16px;

    background:
        rgba(255, 255, 255, 0.82);

    border:
        1px solid rgba(220, 234, 241, 0.9);

    border-radius: 16px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.feature-card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px
        rgba(28, 91, 121, 0.10);
}

.feature-icon {

    width: 45px;

    height: 45px;

    flex-shrink: 0;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}

.feature-icon.blue {

    color: var(--primary);

    background: #e7f6fc;
}

.feature-icon.gold {

    color: #c18e0a;

    background: #fff7dc;
}

.feature-icon.green {

    color: var(--green);

    background: #e7f8f1;
}

.feature-icon.purple {

    color: var(--purple);

    background: #f0ecfb;
}

.feature-card div:last-child {

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.feature-card strong {

    font-size: 13px;

    color: var(--dark);
}

.feature-card span {

    font-size: 11px;

    color: var(--muted);

    line-height: 1.45;
}


/* ============================================================
   WELCOME FOOTER
   ============================================================ */

.welcome-footer {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 26px;

    color: #718898;

    font-size: 12px;
}

.welcome-footer i {

    color: var(--green);

    font-size: 17px;
}


/* ============================================================
   LOGIN CARD
   ============================================================ */

.login-card {

    background: var(--white);

    border:
        1px solid rgba(219, 233, 240, 0.95);

    border-radius: 24px;

    padding: 32px;

    box-shadow: var(--shadow);

    position: relative;

    overflow: hidden;
}

.login-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            #22a7df,
            var(--gold)
        );
}

.login-header {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 28px;
}

.login-icon {

    width: 52px;

    height: 52px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    color: var(--white);

    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );

    box-shadow:
        0 10px 22px
        rgba(7, 150, 210, 0.22);
}

.login-icon i {

    font-size: 23px;
}

.login-header h2 {

    margin: 0;

    color: var(--dark);

    font-size: 20px;

    font-weight: 800;
}

.login-header p {

    margin: 5px 0 0;

    color: var(--muted);

    font-size: 12px;
}


/* ============================================================
   FORM
   ============================================================ */

.form-group {

    margin-bottom: 19px;
}

.form-group label {

    display: block;

    margin-bottom: 8px;

    color: #344e60;

    font-size: 12px;

    font-weight: 700;
}

.input-wrapper {

    position: relative;
}

.input-wrapper > i {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #91a8b7;

    font-size: 16px;

    z-index: 2;
}

.form-control {

    height: 50px;

    border:
        1px solid #dce8ee;

    border-radius: 12px;

    padding:
        0 44px;

    color: var(--dark);

    font-size: 13px;

    background: #fbfdfe;

    box-shadow: none;
}

.form-control::placeholder {

    color: #a5b6c1;
}

.form-control:focus {

    border-color: var(--primary);

    background: #ffffff;

    box-shadow:
        0 0 0 4px
        rgba(7, 150, 210, 0.09);
}

.password-toggle {

    position: absolute;

    right: 13px;

    top: 50%;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: #8ca2b0;

    padding: 4px;

    cursor: pointer;
}

.password-toggle:hover {

    color: var(--primary);
}


/* ============================================================
   LOGIN OPTIONS
   ============================================================ */

.login-options {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin:
        5px 0
        21px;
}

.remember-check {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #738b9a;

    font-size: 11px;

    cursor: pointer;
}

.remember-check input {

    width: 15px;

    height: 15px;

    accent-color: var(--primary);
}


/* ============================================================
   BUTTON
   ============================================================ */

.btn-login {

    width: 100%;

    min-height: 51px;

    border: 0;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 24px
        rgba(7, 150, 210, 0.20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.btn-login:hover {

    color: var(--white);

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px
        rgba(7, 150, 210, 0.28);
}

.btn-login i {

    font-size: 16px;
}


/* ============================================================
   ALERT
   ============================================================ */

.login-alert {

    border-radius: 11px;

    border: 0;

    padding: 11px 13px;

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 11px;

    margin-bottom: 18px;
}


/* ============================================================
   DIVIDER
   ============================================================ */

.login-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin:
        24px 0
        17px;
}

.login-divider::before,
.login-divider::after {

    content: '';

    height: 1px;

    flex: 1;

    background: #e9f0f4;
}

.login-divider span {

    color: #9aadb8;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;
}


/* ============================================================
   LOGIN INFO
   ============================================================ */

.login-info {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    padding: 12px;

    border-radius: 11px;

    background: #f3f8fb;

    color: #78909e;

    font-size: 10px;

    line-height: 1.55;
}

.login-info i {

    color: var(--primary);

    font-size: 15px;

    margin-top: 1px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {

    position: relative;

    z-index: 5;

    padding: 18px 0;

    border-top:
        1px solid rgba(220, 233, 240, 0.8);

    background:
        rgba(255, 255, 255, 0.72);
}

.footer-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #8ba0ad;

    font-size: 10px;
}

.footer-inner strong {

    color: #617989;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {

    .main-content {

        padding:
            45px 0
            40px;
    }

    .welcome-content {

        max-width: 100%;

        padding-right: 0;

        text-align: center;
    }

    .welcome-badge {

        margin-left: auto;
        margin-right: auto;
    }

    .welcome-content h1 span {

        margin-left: auto;
        margin-right: auto;
    }

    .welcome-description {

        margin-left: auto;
        margin-right: auto;
    }

    .feature-grid {

        margin-left: auto;
        margin-right: auto;

        text-align: left;
    }

    .welcome-footer {

        justify-content: center;
    }

    .login-card {

        max-width: 520px;

        margin:
            0 auto;
    }
}


@media (max-width: 575.98px) {

    .top-header {

        padding: 15px 0;
    }

    .brand-logo {

        width: 45px;
        height: 45px;
    }

    .brand-text strong {

        font-size: 17px;
    }

    .brand-text span {

        font-size: 9px;
    }

    .header-status {

        display: none;
    }

    .main-content {

        padding:
            35px 0
            30px;
    }

    .welcome-content h1 {

        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .welcome-description {

        font-size: 13px;
    }

    .feature-grid {

        grid-template-columns: 1fr;
    }

    .login-card {

        padding: 24px 20px;

        border-radius: 19px;
    }

    .footer-inner {

        flex-direction: column;

        gap: 6px;

        text-align: center;
    }
}