/* Page setup */
:root {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #10233d;
    background-color: #4d58c7;
}

* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;
    background-color: #4d58c7;
    background-image:
        linear-gradient(rgba(14, 24, 65, 0.58), rgba(31, 22, 80, 0.58)),
        url("/images/dashboard-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Centers the notice on the page */
.page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Completely opaque notice window */
.notice-card {
    width: 100%;
    max-width: 650px;
    padding: 45px;
    background-color: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(11, 22, 52, 0.42);
    text-align: center;
    opacity: 1;
}

.notice-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}

.eyebrow {
    margin: 0 0 10px;
    color: #2d78b7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.notice-card h1 {
    margin: 0 0 20px;
    color: #10233d;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}

.notice-text {
    margin: 10px 0 15px;
    color: #536273;
    font-size: 17px;
    line-height: 1.6;
}

.url-container {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 10px;
}

.new-url {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid #d3dce6;
    border-radius: 8px;
    background-color: #f5f8fb;
    color: #146ca4;
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    word-break: break-all;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.new-url:hover {
    background-color: #eef6fb;
    border-color: #207bb5;
}

.copy-button {
    padding: 13px 18px;
    border: 1px solid #207bb5;
    border-radius: 8px;
    background-color: #ffffff;
    color: #207bb5;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.copy-button:hover {
    background-color: #eef7fc;
}

.copy-button:active {
    transform: scale(0.97);
}

.copy-button:focus-visible,
.new-url:focus-visible,
.primary-button:focus-visible {
    outline: 3px solid rgba(32, 123, 181, 0.3);
    outline-offset: 3px;
}

.copy-status {
    min-height: 22px;
    margin: 8px 0 16px;
    color: #198754;
    font-size: 14px;
    font-weight: 600;
}

.primary-button {
    display: inline-block;
    margin-top: 8px;
    padding: 14px 26px;
    border-radius: 8px;
    background-color: #207bb5;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(32, 123, 181, 0.30);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.primary-button:hover {
    background-color: #155f91;
    box-shadow: 0 10px 24px rgba(32, 123, 181, 0.36);
}

.primary-button:active {
    transform: translateY(1px);
}

@media (max-width: 650px) {
    .page-shell {
        padding: 20px;
    }

    .notice-card {
        padding: 35px 22px;
        border-radius: 16px;
    }

    .notice-card h1 {
        font-size: 28px;
    }

    .notice-text {
        font-size: 16px;
    }

    .url-container {
        flex-direction: column;
    }

    .new-url,
    .copy-button,
    .primary-button {
        width: 100%;
    }

    .new-url {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .page-shell {
        padding: 12px;
    }

    .notice-card {
        padding: 28px 16px;
    }

    .notice-card h1 {
        font-size: 24px;
    }

    .notice-icon {
        width: 54px;
        height: 54px;
        font-size: 30px;
    }
}
