/* ====================== */
/* Register Screen Styles */
/* ====================== */

/* Container flexbox centering */
.app-frame {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
    padding: 20px;             /* spacing for small screens */
    box-sizing: border-box;
}

/* Registration form card */
#registerForm {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(22, 7, 38, 0.9); /* deep purple semi-transparent */
    border-radius: 12px;
    box-shadow:
            0 0 15px rgba(0, 0, 0, 0.8),
            0 0 25px rgba(123, 31, 162, 0.4);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Headings */
#registerForm h2,
#registerForm h3 {
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 6px rgba(123, 31, 162, 0.7);
    font-family: 'Cinzel', serif;
}

/* Labels + inputs */
#registerForm label {
    color: #ddd;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#registerForm input[type="text"],
#registerForm input[type="password"],
#registerForm input[type="email"] {
    padding: 10px;
    border: 1px solid #5c2a8a;
    border-radius: 8px;
    background: #1a0b2e;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

#registerForm input:focus {
    border-color: #9d4edd;
    box-shadow: 0 0 6px #9d4edd;
}

/* Button */
#registerForm button {
    background: linear-gradient(90deg, #7b1fa2, #9d4edd);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

#registerForm button:hover {
    background: linear-gradient(90deg, #9d4edd, #7b1fa2);
}

#registerForm button:active {
    transform: scale(0.97);
}

/* Result message */
#result {
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
}
