﻿body {
    font-family: Arial, sans-serif;
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
    padding: 15px;
}


.container {
    display: flex;
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    min-height: 500px;
    flex-direction: row;
}

.login-form {
    flex: 1;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
    max-width: 100%;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.signup-link {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    text-align: center;
}

    .signup-link a {
        color: #4CAF50;
        text-decoration: none;
    }

.form-group {
    margin-bottom: 15px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    box-sizing: border-box;
    font-size: 16px; /* Better for mobile tapping */
}

.signin-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
}

.image-slider {
    flex: 1;
    background-color: #2a2a2a;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .image-slider h2 {
        color: #4CAF50;
        margin-bottom: 20px;
        text-align: center;
    }

.slider-container {
    flex-grow: 1;
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

    .slider-image.active {
        opacity: 1;
    }

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #888;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dot.active {
        background-color: #4CAF50;
    }

.error-messages {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    z-index: 100;
    max-width: 90%;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .login-form {
        padding: 20px;
    }

    .image-slider {
        padding: 15px;
    }

    .slider-container {
        height: 200px;
    }
}

/* For very small screens */
@media (max-width: 400px) {
    .login-form {
        padding: 15px;
    }

    .logo img {
        width: 120px;
    }

    h1 {
        font-size: 20px;
    }

    .slider-container {
        height: 180px;
    }
}
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
    padding: 15px;
}

.container {
    display: flex;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    min-height: 500px;
    flex-direction: row;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.login-form {
    flex: 1;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

    .logo img {
        width: 150px;
        height: auto;
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

h1 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.divider {
    position: relative;
    text-align: center;
    margin: 15px 0;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #444;
    }

    .divider span {
        position: relative;
        background-color: #1e1e1e;
        padding: 0 10px;
        color: #888;
    }

.form-group {
    margin-bottom: 15px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    box-sizing: border-box;
    font-size: 16px;
}

.login-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
    transition: background-color 0.3s;
}

    .login-btn:hover {
        background-color: #3e8e41;
    }

.verification-message {
    margin: 10px 0;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    text-align: center;
}

.verification-options {
    margin-top: 15px;
    text-align: center;
}

.resend-btn {
    background-color: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

    .resend-btn:hover {
        background-color: rgba(76, 175, 80, 0.1);
    }

.register-link, .forgot-password {
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
    color: #888;
}

    .register-link a, .forgot-password a {
        color: #4CAF50;
        text-decoration: none;
        transition: color 0.3s;
    }

        .register-link a:hover, .forgot-password a:hover {
            color: #66bb6a;
            text-decoration: underline;
        }

.image-slider {
    flex: 1;
    background-color: #2a2a2a;
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    object-fit: cover;
}

    .slider-image.active {
        opacity: 1;
    }

.slider-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
}

    .dot.active {
        background-color: #4CAF50;
    }

.error-messages {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    z-index: 100;
    max-width: 90%;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding-top: 20px;
    }

    .container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .login-form, .image-slider {
        padding: 20px;
    }

    .slider-container {
        height: 200px;
        margin-top: 20px;
    }
}

/* For very small screens */
@media (max-width: 400px) {
    .login-form, .image-slider {
        padding: 15px;
    }

    .logo img {
        width: 120px;
    }

    h1 {
        font-size: 20px;
    }

    .slider-container {
        height: 180px;
    }
}