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

:root {
    --primary-purple: #6c3483;
    --accent-purple: #5b2c6f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #ffffff;
    --input-border: #e0e0e0;
    --input-focus: #bb8fce;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.top-logo {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 100px;
    z-index: 9999;
}

.top-logo img {
    width: 100%;
    height: auto;
}

.login-container {
    background: var(--bg-white);
    width: 100%;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    min-height: 500px;
}

.login-left {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-right {
    flex: 1;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}



.form-wrapper {
    margin-top: 20px;
    flex: 1;
}

#login_section {
    display: none;
}

.toggle-btn {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.toggle-btn:hover {
    background: rgba(108, 52, 131, 0.05);
    transform: translateY(-1px);
}

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

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.input-group input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(187, 143, 206, 0.2);
    background: #fff;
}

.login-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    background: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 52, 131, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
        /* padding-top: 60px; */
    }

    .top-logo {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin: 20px auto !important;
        /* width: 180px !important; */
        display: block !important;
        z-index: 10001 !important;
    }

    .login-container {
        flex-direction: column;
        max-width: 95%;
        margin: 0 auto 40px auto;
        min-height: auto;
    }

    .login-left {
        width: 100%;
        height: auto;
        min-height: auto;
    }

    .login-left img {
        height: auto;
        max-height: none;
        width: 100%;
        display: block;
    }

    .login-right {
        padding: 30px 20px;
    }
}