/* 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: #00a9e0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #007bb5;
}

/* Preview styling */
.preview {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.card {
    position: relative;
    width: 100%;
    max-width: 800px; /* Set width to make the card horizontal */
    height: 400px; /* Adjust height for a rectangular dimension */
    background-color: #e3f2fd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
    background-size: cover; /* Ensure the background covers the entire area */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background from repeating */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space out elements within the card */
}


.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 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between icons and text */
    background-color: #00a9e0;
    color: #fff;
    padding: 10px;
    font-size: 12px;
    border-radius: 5px;
    width: 100%; /* Make the footer stretch across the entire width */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    flex-wrap: wrap; /* Ensure items wrap within the footer */
}


.footer img {
    width: 16px; /* Adjust icon size */
    height: 16px;
}

.footer p {
    margin: 0 ;
    padding: 0 5px;
}

.details {
    text-align: center; /* Center align text within the details section */
}

/* 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: #007bb5;
}

.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: #00a9e0;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #007bb5;
}

#error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
