/* Remove the background from the body tag */
body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
    color: #0b0c0a;
}

/* Remove the fixed background and make it movable */
.index-page {
    background: url('./image/masta.jpg') no-repeat center center;
    background-size: cover; 
    background-attachment: scroll;
    height: 100vh; 
    margin: 0;
    padding: 0;
}

header {
    background: rgba(34, 175, 214, 0.8);
    color: #0f0202;
    padding: 5px;
    text-align: center;
}

header h1 {
    margin: 1;
    font-size: 2.5em;
}


h1 {
    margin: 1;
    text-align: left;
    padding: 5px;
    font-size: 2.5em; 
}

.center-text {
    text-align: center;
}

nav {
    text-align: right;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 20px;
    margin-right: 20px;
}

nav ul li a.button {
    background: #35424a;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

nav ul li a.button:hover {
    background: #45a049;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    text-align: center;
}
.button {
    background-color: #35424a;
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-size: 14px;
    transition: background 0.3s ease;
}

.button:hover {
    background-color: #45a049;
}

.registered-members-container {
    background-color: rgba(20, 219, 245, 0.9); 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(2, 249, 89, 0.909); 
    color: #050b01;

}

.header-box {
    background-color: rgb(16, 0, 0); 
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(4, 228, 248, 0.986); 
    text-align: center;
    font-weight: bold; 
    font-size: 14px; 
    margin: 5px; 
    color: #f3eded;
}

.income-tracking {
    background-color: rgba(240, 240, 240, 0.9);
    color: #333; 
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(4, 247, 61, 0.872); 
    text-align: center; 
    margin: 20px auto;
    max-width: 400px; 
    font-size: 16px; 
}

.login-message {
    background-color: rgba(21, 211, 245, 0.1); 
    color: #ff0000; 
    padding: 10px;
    border: 1px solid #ff0000; 
    border-radius: 5px;
    margin: 10px 0;
    text-align: center; 
    font-weight: bold; 
}

.info-box {
    background-color: rgba(240, 240, 240, 0.9); 
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    margin: 10px auto; 
    text-align: left; 
    max-width: 500px; 
    font-size: 14px; 
    color: #333; 
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; 
    text-align: center;
}
.dashboard {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.card {
    background: rgba(0, 8, 11, 0.966);
    padding: 20px;
    margin: 5px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    color: #fffcfc;
}

.card h2 {
    margin-top: 0;
}

form {
    background: rgba(253, 252, 252, 0.856);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #000000;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background: #35424a;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

#loginModal {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7); /* Dark background for visibility */
    z-index: 9999;
}

/* Modal content styling */
.modal-content {
    background-color: #42d4ee; /* Bright red background for visibility */
    color: #0c0101; /* White text for contrast */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    font-size: 18px;
}


.close {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

.btn {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    margin-top: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #333333;
}

