@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.form-box {
    max-width: 300px;
    background: #1a1a2e;
    overflow: hidden;
    border-radius: 16px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 24px 24px;
    gap: 16px;
    text-align: center;
}

/*Form text*/
.title {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 0.95rem;
    color: #b0b0b0;
    font-weight: 400;
    line-height: 1.5;
}

/*Inputs box*/
.form-container {
    overflow: hidden;
    border-radius: 8px;
    background-color: #16213e;
    margin: 1rem 0 .5rem;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input {
    background: none;
    border: 0;
    outline: 0;
    height: 40px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    padding: 8px 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #ffffff;
}

.input:focus {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

/*Error message*/
.error-message {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    text-align: center;
}

/*Button*/
.form button {
    background-color: #0066ff;
    color: #fff;
    border: 0;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

.form button:hover {
    background-color: #005ce6;
}

