/* Paw Paw Book Main Stylesheet */

body,
html {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

/* Splash Screen Image */

#openModal {
    max-width: 300px;
    height: auto;
    cursor: pointer;
}

/* Modal Overlay */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Window */

.modal-content {
    background-color: #f5c842;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #222;
    position: relative;
}

/* Header */

.modal-title {
    margin-bottom: 15px;
}

.modal-title h2 {
    margin: 0;
}

/* Login/Register Tabs */

.tab-buttons {
    display: flex;
    margin-bottom: 20px;
}

.tab-buttons button {
    flex: 1;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background: #fff3b0;
    color: #222;
}

.tab-buttons button.active {
    background: #222;
    color: #f5c842;
}

/* Forms */

#loginForm,
#registerForm {
    display: none;
    text-align: left;
}

#loginForm.active,
#registerForm.active {
    display: block;
}

/* Labels */

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

/* Inputs */

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Main Buttons */

.form-button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    background: #222;
    color: #f5c842;
}

.form-button:hover {
    background: #000;
}

/* Close Button */

.close-button {
    margin-top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.close-button:hover {
    text-decoration: underline;
}

