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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0c0c0c;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: top;
    margin-top: 6vh;
    justify-content: center;
    padding: 20px;
}

.blog-link {
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0;
    font-weight: 600;
    white-space: nowrap;
    display: inline;
    transition: color .3s;
}

.blog-link:hover {
    color: #c9c9c9;
}

.login-container {
    width: 380px;
    text-align: center;
}

.logo {
    margin-bottom: 2rem;
    text-align: center;
}

.logo h1 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.26em;
    flex-wrap: nowrap;
    margin-top: 1rem;
}

.logo p {
    color: #888888;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333333;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #2a2a2a;
    color: #ffffff;
}

.form-group .forgot {
    margin-left: auto;
}

.form-group .forgot a {
    color: #888888;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.form-group .forgot a:hover {
    color: #b8b8b8;
}

.form-group .forgot a.disabled {
    color: #666666;
    cursor: default;
    opacity: 0.6;
    pointer-events: none;
}

.form-group .forgot a.disabled:hover {
    color: #666666;
}

.form-group input:focus {
    outline: none;
    border-color: #b8b8b8;
}

.form-group input.error {
    border-color: #ef4444d3;
}

.form-group input.error:focus {
    border-color: #ef4444d3;
}

.form-group input.error::placeholder {
    color: #ef4444d3;
}

.form-group input:disabled {
    background-color: #1a1a1a;
    color: #666666;
    border-color: #333333;
    cursor: default;
    opacity: 0.6;
}

.form-group input:disabled:focus {
    border-color: #333333;
}

.form-group input:disabled::placeholder {
    color: #666666;
}

.form-group input::placeholder {
    color: #666666;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background-color: #248434;
    color: rgb(230, 230, 230);
    border: 1px solid #333333;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.btn-login:hover {
    background-color: #30943c;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.btn-login:disabled {
    background-color: #1a1a1a;
    color: #666666;
    border-color: #333333;
    cursor: default;
    opacity: 0.6;
}

.btn-login:disabled:hover {
    background-color: #1a1a1a;
    box-shadow: none;
}

.separator {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #333333;
}

.separator span {
    background-color: #0c0c0c;
    color: #888888;
    padding: 0 1rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.separator2 {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.separator2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #272727;
}

.separator2 span {
    background-color: #0c0c0c;
    color: #383838;
    padding: 0 1rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.create-account {
    font-size: 0.85rem;
    margin-top: 1rem;
    color: #acacac;
}

.create-account-link {
    color: #acacac;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.create-account-link:hover {
    color: #e6e6e6;
}

.btn-create-account {
    width: 100%;
    padding: 0.75rem;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-create-account:hover {
    background-color: #333333;
    border-color: #444444;
}

.btn-create-account:disabled {
    background-color: #1a1a1a;
    color: #666666;
    border-color: #333333;
    cursor: default;
    opacity: 0.6;
}

.btn-create-account:disabled:hover {
    background-color: #1a1a1a;
    border-color: #333333;
}

.btn-create-account i {
    font-size: 1.1rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border: 1px solid;
}

.alert-error {
    background-color: #1a1a1a;
    color: #ef4444;
    border-color: #ef44447e;
}

.alert-success {
    background-color: #1a1a1a;
    color: #10b981;
    border-color: #059669;
}

.info-section {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.info-section h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-section p {
    color: #888888;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

#username, #password {
    font-family: 'Cascadia Code', monospace;
    border: 1px solid #333333;
    border-radius: 0.5rem;
    display: flex;
}

.users-list {
    background-color: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.users-list span {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    margin: 0.125rem;
}

.back-link {
    margin-top: 1.5rem;
}

.back-link a {
    color: #383838;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #535353;
}

.loading {
    display: none;
    margin-left: 0.5rem;
}

.loading.show {
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
} 