/* Authentication Pages - Login and Registration */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 49px);
}

.auth-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 40px 20px;
}

.auth-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #814198;
    color: #f7d56d;
    padding: 40px 20px;
    position: relative;
}

.branding-content {
    text-align: center;
    color: #f7d56d;
    max-width: 500px;
}

.brand-logo {
    height: 250px;
    width: 250px;
    margin-bottom: 20px;
    object-fit: contain;
}

.brand-tagline {
    font-size: 2em;
    font-family: Garamond, serif;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-container,
.register-container {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

h1 {
    text-align: center;
    color: #b48d35;
    margin-bottom: 30px;
}

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

label {
    display: block;
    margin-bottom: 5px;
    color: #b48d35;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color:#814198;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg,#814198 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

.error-message,
.success-message {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.error-message {
    background: #fee;
    color: #c33;
}

.success-message {
    background: #efe;
    color: #3c3;
}

.register-link,
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.register-link a,
.login-link a {
    color:#b48d35;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover,
.login-link a:hover {
    text-decoration: underline;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #F2CA46 ;
    color: #814198;
    text-align: center;
    padding: 15px;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-wrapper {
        flex-direction: column;
    }

    .auth-left {
        order: 2;
        min-height: auto;
    }

    .auth-right {
        order: 1;
        padding: 30px 20px;
        min-height: 200px;
    }

    .brand-logo {
        height: 80px;
        margin-bottom: 20px;
    }

    .brand-tagline {
        font-size: 1.3em;
    }

    .login-container,
    .register-container {
        padding: 30px 20px;
    }
}
