/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'DM Sans', sans-serif;
    height: 100%;
    background: #000;
    overflow: hidden;
}

/* ========== BACKGROUND VIDEO ========== */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

/* ========== LAYOUT WRAPPER ========== */
.masthead-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    text-align: center;
}

/* ========== GLASSMORPHISM FORM CONTAINER ========== */
.container-fluid {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 700px;
}

/* ========== HEADINGS ========== */
h1, h3 {
    color: #ffffff;
    font-family: 'Tinos', serif;
    margin-bottom: 15px;
}

h1 {
    font-size: 2rem;
}

h3 {
    font-size: 1.3rem;
}

/* ========== FORM STYLING ========== */
form {
    margin-top: 25px;
    width: 100%;
}

form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

form label {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

form .form-control,
form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: all 0.3s ease;
}

form .form-control::placeholder {
    color: #cccccc;
}

form .form-control:focus,
form select:focus {
    background: rgba(255, 255, 255, 0.25);
    outline: none;
}

/* ========== BUTTON STYLES ========== */
#saveBtn {
    display: inline-block;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#saveBtn:hover {
    background-color: #218838;
}

/* ========== RESPONSE AREA ========== */
#react {
    color: #ffffff;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 576px) {
    h1 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .container-fluid {
        padding: 25px 20px;
    }

    #saveBtn {
        width: 100%;
    }
}
