body {
    background: #f5f7fa;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    color: #333;
}

.container {
    width: 500px;
    max-width: calc(100% - 60px);
    margin: 80px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    box-sizing: border-box;
}

h1 {
    margin: 0;
    font-size: 42px;
    color: #0d6efd;
}

h2 {
    margin-top: 10px;
    font-weight: normal;
    color: #666;
}

p {
    margin-top: 30px;
}

button {
    padding: 12px 35px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #0d6efd;
    color: white;
}

button:hover {
    background: #0b5ed7;
}

.footer {
    padding: 20px;
    margin-top: 30px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

/* Responsive layout for mobile devices */
@media (max-width: 480px) {
    .container {
        margin: 30px auto;
        padding: 20px;
    }

    h1 {
        font-size: 34px;
    }

    button {
        max-width: 100%;
    }
}

/* Password field and show/hide button */

.password-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.password-wrapper input {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 42px;
    padding: 8px 42px 8px 10px;
    box-sizing: border-box;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #555;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
}

.password-wrapper .toggle-password:hover {
    background: transparent;
    color: #0d6efd;
}


/* SCOP header and navigation layout */

header {
    text-align: center;
    margin-bottom: 24px;
}

header h1 {
    margin-bottom: 5px;
}

header p {
    margin-top: 0;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

header nav a {
    display: inline-block;
    text-decoration: none;
    color: #0d6efd;
    padding: 8px 10px;
    border-radius: 6px;
}

header nav a:hover {
    background-color: #eaf2ff;
}

header nav span {
    color: #333;
    overflow-wrap: anywhere;
}

header nav form {
    display: inline-flex !important;
    align-items: center;
    margin: 0;
}

header nav button {
    margin: 0;
}

/* Mobile phone layout */

@media (max-width: 480px) {
    header nav {
        gap: 6px;
    }

    header nav a,
    header nav button {
        padding: 8px;
    }

    header nav span {
        max-width: 100%;
        text-align: center;
    }
}


.button-link {
    display: inline-block;
    padding: 10px 18px;
    background-color: #0d6efd;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
}

.button-link:hover {
    background-color: #0b5ed7;
}

