@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

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

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

body {
    background-color: #686279;
    font-family: 'Inter', sans-serif;
    color: #aaaaab;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

span {
    color: #baa3f5;
    text-decoration: underline;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 500;
    color: #FFFFFF;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: #FFFFFF;
}

h1, h2, h3, p {
    margin: 0;
}

input {
    height: 56px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background-color: #3c364c;
    color: #FFFFFF;
    outline: none;
    border: 1.5px #ffffff00 solid;
    border-radius: 8px;
    padding-left: 15px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

input:focus-within {
    border-color: #b9a7f5;
}

::placeholder {
    color: #767286;
    opacity: 1;
}

button {
    height: 56px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.124);
    color: #FFFFFF;
    outline: none;
    border: 2px #ffffff00 solid;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    transition: box-shadow ease 0.2s, border ease 0.2s;
    margin-top: auto;
    padding: 0;
}

button:hover {
    box-shadow: 0px 0px 5px -3px #b9a7f5;
    border: 2px solid #b9a7f5;
}

.goodButton:hover {
    box-shadow: 0px 0px 7px -3px #9bcf78;
    border: 2px solid #9bcf78 !important;
}

.signOutBtn {
    height: 40px;
    width: auto;
    min-width: 80px;
    padding: 0 15px;
    font-size: 14px;
    background: rgba(255, 100, 100, 0.15);
    flex-shrink: 0;
    margin-top: 0;
}

.signOutBtn:hover {
    box-shadow: 0px 0px 25px -3px #312a3e;
    border: 2px solid #e26d6f;
}

a {
    color: #baa3f5;
    text-decoration: underline;
}

.centered {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.mainBox {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    min-height: 500px;
    height: auto;
    padding: 40px;
    margin: 15px auto;
    border-radius: 20px;
    background-color: #332c41;
    box-shadow: 0px 0px 100px -5px #332c41;
    box-sizing: border-box;
}

.header {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
    flex-wrap: nowrap;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header svg {
    fill: #FFFFFF;
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-shrink: 0;
}

.header h1 {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(24px, 5vw, 32px);
}

.actions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bottomTag {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
}

.info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.124);
    border-radius: 8px;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
}

.infoContainer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 600px) {
    .mainBox {
        width: 95%;
        padding: 20px;
        min-height: auto;
        margin: 10px 0;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    input, button {
        height: 48px;
    }
    
    .actions {
        margin-top: 30px;
        gap: 15px;
    }
    
    .info {
        padding: 15px;
    }
    
    .header {
        margin-bottom: 10px;
    }
    
    .infoContainer p {
        font-size: 14px;
    }
}

@media screen and (max-width: 400px) {
    .mainBox {
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header h1 {
        width: 100%;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    
    #logoutForm {
        width: 100%;
        margin-top: 5px;
    }
    
    .signOutBtn {
        width: 100%;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
}