@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #1a2a3a, #2a3a4a);
}

.container {
    padding: 40px;
    border-radius: 20px;
    border: 8px solid #223243;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.35),
        inset -5px -5px 15px rgba(255, 255, 255, 0.1),
        inset 5px 5px 15px rgba(0, 0, 0, 0.35);
    background: #223243;
    width: 400px;
}

.form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 35px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo i {
    font-size: 2.5em;
    color: #00dfc4;
    margin-bottom: 10px;
}

.logo h1 {
    color: #fff;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.form h2 {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.1em;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.inputBox {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.inputBox input {
    padding: 15px 10px 15px 48px;
    border: none;
    width: 100%;
    background: #223243;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 300;
    border-radius: 25px;
    font-size: 1em;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.35);
    transition: 0.5s;
    outline: none;
}

.inputBox span {
    position: absolute;
    left: 0;
    padding: 15px 10px 15px 48px;
    pointer-events: none;
    font-size: 1em;
    font-weight: 300;
    transition: 0.5s;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.inputBox input:valid ~ span,
.inputBox input:focus ~ span {
    color: #00dfc4;
    border: 1px solid #00dfc4;
    background: #223243;
    transform: translateX(25px) translateY(-7px);
    font-size: 0.6em;
    padding: 0 8px;
    border-radius: 10px;
    letter-spacing: 0.1em;
}

.inputBox input:valid,
.inputBox input:focus {
    border: 1px solid #00dfc4;
}

.inputBox i {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 25px;
    padding: 2px 0;
    padding-right: 8px;
    color: #00dfc4;
    border-right: 1px solid #00dfc4;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 15px 0;
    background: #00dfc4;
    color: #223243;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.35),
        inset -5px -5px 15px rgba(255, 255, 255, 0.1),
        inset 5px 5px 15px rgba(0, 0, 0, 0.35);
    transition: 0.3s;
    margin-top: 10px;
}

.btn:hover {
    background: #00c4ad;
}

/* Create Account Button Special Style */
.btn-create-account {
    background: linear-gradient(45deg, #00dfc4, #00b8a3);
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 18px 0;
    box-shadow: 0 5px 15px rgba(0, 223, 196, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-create-account:hover {
    background: linear-gradient(45deg, #00b8a3, #00dfc4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 223, 196, 0.4);
}

input[type="submit"] {
    width: 100%;
    padding: 15px 0;
    background: #00dfc4;
    color: #223243;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
        5px 5px 15px rgba(0, 0, 0, 0.35),
        inset -5px -5px 15px rgba(255, 255, 255, 0.1),
        inset 5px 5px 15px rgba(0, 0, 0, 0.35);
    transition: 0.3s;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background: #00c4ad;
}

.options {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    margin-top: 10px;
}

.options a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75em;
    text-decoration: none;
    transition: 0.3s;
}

.options a:hover {
    color: #00dfc4;
}

/* Special style for create account link */
.options a.create-account-link {
    color: #00dfc4;
    font-size: 0.85em;
    font-weight: 500;
    padding: 5px 12px;
    border: 1px solid #00dfc4;
    border-radius: 15px;
    background: rgba(0, 223, 196, 0.1);
    transition: all 0.3s ease;
}

.options a.create-account-link:hover {
    background: #00dfc4;
    color: #223243;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 223, 196, 0.3);
}

.security-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75em;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.security-note i {
    color: #00dfc4;
}

.error-message {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    color: #ff4d4d;
    width: 100%;
    text-align: center;
}

.error-message p {
    margin: 5px 0;
    font-size: 0.9em;
}

.success-message {
    background: rgba(0, 223, 196, 0.1);
    border: 1px solid #00dfc4;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    color: #00dfc4;
    width: 100%;
    text-align: center;
}

.success-message p {
    margin: 5px 0;
    font-size: 0.9em;
}

.success-message strong {
    color: #fff;
    background: rgba(0, 223, 196, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
} 