* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SN Pro";
    background: #0f0a1a;
    color: #ffffff;
    min-height: 100vh;
}

header {
    background: linear-gradient(90deg, #1a0b2e, #2d1b4e, #1a0b2e);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.logo {
    font-weight: 900;
    letter-spacing: 0.12em;
    background: linear-gradient(90deg, #c4b5fd, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: calc(100vh - 80px);
}

.container {
    width: 100%;
    max-width: 420px;
    background: #181226;
    border-radius: 16px;
    padding: 44px 38px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}


#form-title {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 0.9rem;
    color: #9a94aa;
    margin-bottom: 36px;
}


.form-group {
    margin-bottom: 22px;
}

.input-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #cfcad8;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    background: #120f1a;
    border: 1.5px solid #2a2435;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

input::placeholder {
    color: #6b647c;
}

input:focus {
    outline: none;
    border-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}


#action-btn {
    width: 100%;
    padding: 13px;
    margin-top: 10px;
    border-radius: 10px;
    background: #7c3aed;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

#action-btn:hover {
    background: #8b5cf6;
    transform: translateY(-1px);
}

.toggle-btn {
    margin-top: 18px;
    width: 100%;
    padding: 12px;
    background: transparent;
    border-radius: 10px;
    color: #a78bfa;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:hover {

    color: #ffffff;
}



@media (max-width: 480px) {
    .container {
        padding: 36px 28px;
    }
}


header nav a {
    position: relative;
    padding: 6px 2px;
    transition: color 0.25s ease;
}
header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    transition: width 0.25s ease;
    border-radius: 2px;
}

header nav a:hover {
    color: #ffffff;
}

header nav a:hover::after {
    width: 100%;
}

header nav a.bg-purple-600 {
    position: relative;
    overflow: hidden;
}

header nav a.bg-purple-600 {
    background: linear-gradient(90deg, #7c3aed, #6d28d9);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

header nav a.bg-purple-600:hover {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
}

header nav a.bg-purple-600 span {
    position: relative;
    z-index: 1;
}


header nav a.bg-purple-600 span {
    position: relative;
    z-index: 1;
}

.logo {
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}

header nav a.bg-purple-600 span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}