/* ============================================
   1. TYPOGRAPHY & HEADERS
   ============================================ */

.sentence1 {
    margin-top: 10px;
    color: #E30E28;
    font-size: 30px;
    font-weight: bold;
}

.sentence2 {
    margin-bottom: 20px;
    color: #E30E28;
    font-size: 20px;
}

label {
    display: inline-block;
    margin-bottom: 3px;
    font-weight: bold;
}

/* ============================================
   2. DECORATIVE ELEMENTS
   ============================================ */

.aniLine2 {
    width: 90%;
    height: 5px;
    margin-bottom: 20px;
    background-color: #E30E28;
    border-radius: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.469);
    animation: lijnEnter 0.8s ease-out;
}

@keyframes lijnEnter {
    0% {
        width: 0%;
        opacity: 0;
    }
    100% {
        width: 90%;
        opacity: 1;
    }
}

/* ============================================
   3. FORM CONTAINER
   ============================================ */

.form-container {
    width: 100%;
    max-width: 350px;
    padding: 25px;
    background-color: white;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 4px 30px #e30e273d;
}

.form-group {
    margin-bottom: 15px;
}

/* ============================================
   4. INPUT FIELDS
   ============================================ */

.input {
    width: 100%;
    height: 40px;
    padding: 10px;
    background-color: #fff;
    font-size: 16px;
    text-align: left;
    border: 2px solid #E30E28;
    border-radius: 8px;
    box-shadow: 0 4px 30px #00000024;
    box-sizing: border-box;
    outline: none;
}

.input:focus {
    border-color: darkred;
}

.form-container button,
.form-container input {
    width: 100%;
    padding: 10px;
    font-size: 18px;
}

.form-container input.input {
    width: 100%;
}

/* ============================================
   5. BUTTONS
   ============================================ */

button,
.operatorLoginButton {
    background-color: #E30E28;
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.469);
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover,
.operatorLoginButton:hover {
    background-color: darkred;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.button-row .operatorLoginButton,
.button-row #backButton {
    width: 50%; /* Two evenly sized buttons */
}

#backButton {
    background-color: #d85362;
}

#backButton:hover {
    background-color: grey;
}

/* ============================================
   6. RESPONSIVE DESIGN
   ============================================ */

/* Tablets and small desktops (max 768px) */
@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .sentence1 {
        font-size: 26px;
    }
    
    .sentence2 {
        margin-bottom: 15px;
        font-size: 18px;
    }
    
    .aniLine2 {
        margin-bottom: 15px;
    }
    
    .form-container {
        max-width: 320px;
        padding: 20px;
    }
}

/* Mobile phones (max 480px) */
@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .sentence1 {
        font-size: 20px;
    }
    
    .sentence2 {
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .aniLine2 {
        height: 4px;
        margin-bottom: 10px;
    }
    
    .form-container {
        max-width: 90%;
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    label {
        font-size: 14px;
    }
    
    .input {
        height: 36px;
        padding: 8px;
        font-size: 14px;
    }
    
    .form-container button {
        padding: 8px;
        font-size: 14px;
    }
}

/* Extra small devices (max 360px) */
@media (max-width: 360px) {
    .sentence1 {
        font-size: 18px;
    }
    
    .sentence2 {
        font-size: 12px;
    }
    
    .form-container {
        padding: 12px;
    }
    
    label {
        font-size: 13px;
    }
    
    .input {
        height: 32px;
        font-size: 13px;
    }
    
    .form-container button {
        font-size: 13px;
    }
}

/* Small screen heights (max 700px) */
@media (max-height: 700px) {
    body {
        padding: 0;
        justify-content: flex-start;
    }
    
    .sentence1 {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 22px;
    }
    
    .sentence2 {
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .aniLine2 {
        height: 3px;
        margin-bottom: 10px;
    }
    
    .form-container {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 8px;
    }
    
    .input {
        height: 34px;
    }
    
    .form-container button {
        padding: 8px;
    }
    
    #backButton {
        margin-top: 8px;
    }
}

/* Mobile landscape mode (max 900px width, max 500px height) */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    body {
        padding: 0;
    }
    
    .sentence1 {
        margin: 5px 0;
        font-size: 20px;
    }
    
    .sentence2 {
        margin-bottom: 5px;
        font-size: 14px;
    }
    
    .aniLine2 {
        height: 3px;
        margin-bottom: 10px;
    }
    
    .form-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 400px;
        padding: 15px;
    }
    
    .form-group {
        width: 48%;
        margin-bottom: 5px;
    }
    
    label {
        font-size: 12px;
    }
    
    .input {
        height: 30px;
        padding: 5px;
        font-size: 14px;
    }
    
    #backButton {
        margin-top: 5px;
    }
}

/* Very large screens (min 1400px) */
@media (min-width: 1400px) {
    .sentence1 {
        font-size: 36px;
    }
    
    .sentence2 {
        font-size: 24px;
    }
    
    .aniLine2 {
        height: 6px;
        margin-bottom: 25px;
    }
    
    .form-container {
        max-width: 450px;
        padding: 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    label {
        margin-bottom: 5px;
        font-size: 18px;
    }
    
    .input {
        height: 46px;
        padding: 12px;
        font-size: 18px;
    }
    
    .form-container button {
        padding: 12px;
        font-size: 18px;
    }
}
