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

body {
    font-family: "Poppins";
    color: white;
}

h1 {
    font-size: 1.5em;
}

p {
    font-size: 1em;
}

article {
    margin-left: 50px;
    margin-right: 50px;
}

.global-bg {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -999;
}

.logo-link {
    text-decoration: none;
    color: inherit; /* keeps existing text color */
    cursor: pointer;
}

.logo {
    font-family: "Varela Round";
    font-size: 50px;
    font-weight: 1000;
    letter-spacing: 4px;
    display: flex;

    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 90px;
    margin-bottom: 50px;
}

.logo span {
    display: inline-block;
    -webkit-text-stroke: 1.5px white;
    color: white;
    transform: scale(1.2);

    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.title-container {
    margin-bottom: 40px;
}

.title { 
    font-family: "Poppins";
    font-size: 40px;
    font-weight: 700;
    color: white;
    text-align: center;
}

.account-form {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 13px;
}

.form-group label {
    font-size: 15px;
    font-family: "Poppins";
    letter-spacing: 2px;
    color: white;
}

.form-group input {
    font-size: 17px;
    font-family: "Poppins";
    background: rgba(255, 255, 255, 0.35);
    border: none;
    border-radius: 20px;
    padding: 15px 17px;
    color: white;
    outline: none;
}

.form-group .form-btn {
    font-size: 17px;
    font-family: "Poppins";
    background: rgba(255, 255, 255, 0.0);
    border-radius: 20px;
    padding: 15px 17px;
    color: white;
    outline: solid white 2px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-group .form-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-group .form-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.form-error {
    display: none;
    align-items: center;
    gap: 10px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 13px;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 12px 17px;
}

.form-error.visible {
    display: flex;
}

.form-error-icon {
    font-family: "Poppins";
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-error-msg {
    font-family: "Poppins";
    font-size: 14px;
    color: white;
    letter-spacing: 0.3px;
}

.account-form a {
    font-family: "Open Sans";
    font-size: 15px;
    color: white;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 50px;
    text-align: center;
}

.success-message.visible {
    display: flex;
}

.success-icon {
    font-size: 48px;
    color: white;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-title {
    font-family: "Poppins";
    font-size: 26px;
    font-weight: 700;
    color: white;
}

.success-subtitle {
    font-family: "Open Sans";
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.success-subtitle a {
    font-family: "Open Sans";
    font-size: 15px;
    color: white;
}

.success-subtitle span {
    font-weight: 700;
}

.small-container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    font-size: 17px;
    font-family: "Poppins";
    background: rgba(255, 255, 255, 0.0);
    border-radius: 20px;
    padding: 15px 17px;
    color: white;
    outline: solid white 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

footer {
    font-family: "Open Sans";
    font-size: 15px;
    color: white;
    text-align: center;
    margin-top: 30px;
}

footer a {
    color: white;
}