/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f8fa;
    color: #333;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #007bb5;
}

/* Form styling */
form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

label {
    display: none; /* Hide labels as placeholders are used */
}

input[type="text"], input[type="date"], textarea, input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

input[type="file"] {
    padding: 5px;
}

textarea {
    resize: none;
    height: 60px;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #02878e;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #c5d200;
}

/* Preview styling */
.preview {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.card {
    position: relative;
    width: 100%;
    background-color: #fff; /* Fallback color */
    background-image: url('pattern.jpg'); /* Add your pattern image */
    background-size: cover; /* Ensure the pattern covers the entire area */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
}



.logo img {
    width: 80px;
    margin: 0 auto 10px;
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 10px auto;
    background-color: #ddd;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details h2 {
    font-size: 20px;
    color: #00796b;
    margin: 10px 0 5px;
}

.details p {
    font-size: 16px;
    margin: 5px 0;
    color: #333;
}

.details span {
    font-size: 14px;
    display: block;
    margin-top: 8px;
    color: #666;
}

.footer {
    margin-top: 20px;
    background-color: #02878e;
    color: #fff;
    padding: 50px;
    font-size: 20px;
    border-radius: 5px;
}


.footer p.happy-birthday {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    color: #FF6347; /* Tomato color, adjust as needed */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Adds a shadow for some depth */
    margin: 0; /* Aligns it properly within the footer */
    padding: 0;
}


/* Login Page Styling */
.login-container {
    width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
    color: #02878e;
}

.login-container label {
    display: none;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #02878e;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #c5d200;
}

#error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
