@import url('https://fonts.googleapis.com/css2?family=Helvetica:wght@400;700&display=swap');

body {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro", Helvetica, Arial, sans-serif;
}

/* Top Footer */
.top-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    background-color: white;
}

/* Logo */
.footer-logo {
    height: 40px;
    margin-right: 30px;
}

/* Navigation Styling */
.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 14px;
    color: black;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
}

/* Slide-Out Underline Effect */
.footer-nav a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.3s ease-in-out;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.footer-nav a:hover::after {
    width: 100%;
}

/* Main Login Section */
.container {
    display: flex;
    width: 100%;
    height: 100vh;
    margin-top: 70px;
}

.image-left, .image-right {
    width: 40%;
    background-size: cover;
    background-position: center;
}

.image-left {
    background-image: url('assets/1.jpg');
}

.image-right {
    background-image: url('assets/2.jpg');
}

.middle-section {
    width: 20%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px; /* Increased padding to create space */
    text-align: center;
}

h1 {
    color: black;
    font-size: 24px;
    margin-bottom: 20px;
}

form {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Bigger & Wider Login Button */
button {
    background-color: black;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    max-width: 270px;
    transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

button:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* Move the register link lower */
.register-link {
    color: black;
    text-decoration: none;
    font-size: 14px;
    margin-top: 40px; /* Increased margin to move it lower */
    display: inline-block; /* Ensures spacing applies properly */
}

.register-link u {
    cursor: pointer;
}

.register-link:hover u {
    text-decoration: none;
}


/* Footer Section */
.footer-section {
    background-color: #1a1a1a; /* Dark Grey Clay Black */
    padding: 3rem 1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

/* Footer Logo and Copyright */
.footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    max-width: 150px;
}

.footer-logo img {
    width: 80px;
}

.footer-logo .footer-text {
    text-align: left;
}

.footer-logo .copyright,
.footer-logo .privacy-policy {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    text-align: left;
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-column a:hover {
    text-decoration: underline;
    color: #00d9ff;
}

/* App Store Button */
.app-store-button img {
    width: 150px;
    margin-top: 1rem;
    display: block;
}

/* Error Message */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}


/* Spinner container */
.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* Spinner circle */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0f7fa;
    border-top: 4px solid #00acc1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframe animation for spinner */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Signing in text */
.signing-in-text {
    margin-top: 10px;
    color: #00acc1;
    font-size: 16px;
    font-weight: bold;
}

