header {
    position: fixed; /* Makes the logo fixed to the top left */
    top: 0;
    left: 0;
    padding: 10px; /* Optional: Add some padding around the logo */
    z-index: 1000; /* Ensures the logo stays on top of other content */
}

header img {
    height: 80px;
    transition: transform 0.3s;
    cursor: pointer;
}

header img:hover {
    transform: scale(1.1);
}


body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.auth-container {
    perspective: 1000px;
    width: 90%;
    max-width: 700px;
    position: relative;
    height: 400px;
}

.auth-options {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.auth-options.flipped {
    transform: rotateY(180deg);
}

.login-section,
.signup-section {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
}

.login-section {
    z-index: 2;
}

.signup-section {
    transform: rotateY(180deg);
    z-index: 1;
}

.auth-form {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
}

.auth-form button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.auth-form button:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.auth-container .btn-toggle {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #007BFF;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.text {
    text-align-last: right;
    color: #007bff;
    background: none;
    cursor: pointer;
    text-decoration: underline;
}

/* Add styles for error and success messages */
.message {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    transition: opacity 0.3s;
}

.message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Align logo and container as per the original style */
header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    z-index: 1000;
}

header img {
    height: 80px;
    transition: transform 0.3s;
    cursor: pointer;
}

header img:hover {
    transform: scale(1.1);
}

footer {
    background-color: #222;
    color: #fff;
    position: fixed;
    padding: 15px 30px; /* Reduced padding */
    margin: 0;
    min-height: auto; /* Removes fixed height */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.contact-info {
    text-align: right;
    font-size: 0.75rem; /* Smaller text */
    opacity: 0.8;
    margin-right: 0.5rem; /* Reduced margin */
}
