* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-image: url('https://wallpapers.com/images/featured/black-topographic-pbtm4zynr6ggmds3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.innerbody {
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.center {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.right {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    width: 25%;
    height: 100%;
}

.container {
    background: rgba(17, 17, 17, 0.9);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.1);
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
}

.input-box {
    position: relative;
    margin-bottom: 1rem;
}

.input-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
}

.input-box input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.input-box input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 122, 255, 0.2);
}

.input-box input::placeholder {
    color: #bbb;
}

.glow-button {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease-out;
}

.glow-button:hover {
    border-color: rgb(255, 255, 255);
    transform: scale(1.02);
}

.glow-button:active {
    transform: scale(0.98);
}

.glow-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.underline {
    background-color: white;
    height: 1px;
    width: 0px;
    transition: all 0.2s ease;
}

.linkbox {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.linkbox:hover .underline {
    width: 70%;
}

header {
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: row;
    backdrop-filter: blur(8px);
}

.glowingtext {
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 7vh;
    text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #ffffff, 
                 0 0 30px #ffffff, 0 0 40px #ffffff, 0 0 55px #ffffff, 
                 0 0 75px #ffffff, 0px 0px 0px #FFFFFF;
}

.discord {
    margin-left: 20px;
    height: 2.5vw;
    width: 2.5vw;
    background-image: url("../images/discord.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease-out;
}

.discord:hover {
    cursor: pointer;
    transform: scale(1.2, 1.2)
}

.discord:active {
    transform: scale(0.9, 0.9);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.alert-error {
    background-color: rgba(220, 38, 38, 0.1);
    border-left: 4px solid rgb(220, 38, 38);
    color: rgb(220, 38, 38);
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-left: 4px solid rgb(34, 197, 94);
    color: rgb(34, 197, 94);
}

.alert-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

@media (orientation: portrait) {
    .discord {
        height: 5vw;
        width: 5vw;
    }
}

/* Add focus styles for accessibility */
:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Add high contrast focus styles for Windows High Contrast mode */
@media screen and (-ms-high-contrast: active) {
    :focus {
        outline: 2px solid currentColor;
    }
}

/* Captcha specific styles */
.captcha-container {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.captcha-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.captcha-input {
    width: 100%;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.captcha-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.captcha-refresh {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin-top: 5px;
    text-decoration: underline;
}

.captcha-refresh:hover {
    opacity: 1;
}