/* =========================================================
   Base
   ========================================================= */

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

:root {
    --athea-blue: #08355d;
    --athea-blue-dark: #062b4b;
    --athea-blue-light: #eaf2f8;

    --text: #1f2933;
    --text-muted: #667085;

    --background: #f4f7fa;
    --white: #ffffff;

    --border: #d9e2ec;
    --warning-bg: #fff8e6;
    --warning-border: #f2c94c;
    --warning-text: #7a5a00;
}

html,
body {
    min-height: 100%;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #f4f7fa 0%,
            #eef3f8 100%
        );

    color: var(--text);

    display: flex;
    flex-direction: column;

    min-height: 100vh;
}


/* =========================================================
   Header
   ========================================================= */

.header {
    width: 100%;
    background-color: var(--athea-blue);

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-inner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 14px 32px;

    display: flex;
    align-items: center;
}

.athea-logo {
    width: 105px;
    height: auto;
    display: block;
}


/* =========================================================
   Main
   ========================================================= */

.main {
    flex: 1;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 24px;
}

.card {
    width: 100%;
    max-width: 720px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 16px;

    padding: 55px 60px 60px;

    text-align: center;

    box-shadow:
        0 12px 35px rgba(8, 53, 93, 0.08);
}


/* =========================================================
   Kosmos logo
   ========================================================= */

.logo-center {
    margin-bottom: 28px;
}

.logo-center img {
    width: 170px;
    max-width: 60%;
    height: auto;
}


/* =========================================================
   Title
   ========================================================= */

h1 {
    color: var(--athea-blue);

    font-size: 2rem;
    font-weight: 600;

    line-height: 1.25;

    margin-bottom: 30px;
}


/* =========================================================
   Migration notice
   ========================================================= */

.notice {
    display: flex;

    text-align: left;

    background: var(--warning-bg);

    border: 1px solid var(--warning-border);
    border-radius: 10px;

    padding: 20px 22px;

    margin: 0 auto;

    max-width: 600px;
}

.notice-icon {
    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 16px;

    border-radius: 50%;

    background: var(--warning-border);
    color: var(--white);

    font-size: 20px;
    font-weight: 700;
}

.notice-content {
    flex: 1;
}

.notice-content strong {
    display: block;

    margin-bottom: 8px;

    color: var(--warning-text);

    font-size: 1rem;
}

.notice-content p {
    color: #5f5533;

    font-size: 0.95rem;
    line-height: 1.6;
}

.new-url {
    display: inline-block;

    margin: 8px 0;

    color: var(--athea-blue);

    font-size: 1rem;
    font-weight: 600;

    text-decoration: none;
}

.new-url:hover {
    text-decoration: underline;
}

.notice-content .legacy {
    margin-top: 4px;

    color: #8a7a4a;

    font-size: 0.85rem;
}


/* =========================================================
   Button
   ========================================================= */

.actions {
    margin-top: 35px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 26px;

    background: var(--athea-blue);
    color: var(--white);

    border-radius: 8px;

    font-size: 1rem;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button span {
    font-size: 1.2rem;

    transition:
        transform 0.2s ease;
}

.button:hover {
    background: var(--athea-blue-dark);

    transform: translateY(-1px);

    box-shadow:
        0 6px 16px rgba(8, 53, 93, 0.2);
}

.button:hover span {
    transform: translateX(3px);
}

.button:focus-visible {
    outline: 3px solid rgba(8, 53, 93, 0.3);
    outline-offset: 3px;
}


/* =========================================================
   Footer
   ========================================================= */

.footer {
    width: 100%;

    padding: 20px 24px;

    text-align: center;

    background: var(--athea-blue);
}

.footer p {
    color: rgba(255, 255, 255, 0.75);

    font-size: 0.85rem;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 600px) {

    .header-inner {
        padding: 12px 20px;
    }

    .athea-logo {
        width: 90px;
    }

    .main {
        padding: 40px 16px;
    }

    .card {
        padding: 40px 22px 45px;

        border-radius: 12px;
    }

    .logo-center img {
        width: 145px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .notice {
        padding: 16px;
    }

    .notice-icon {
        flex-basis: 28px;

        width: 28px;
        height: 28px;

        margin-right: 12px;

        font-size: 17px;
    }

    .button {
        width: 100%;

        padding: 14px 18px;
    }
}
