/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a8d106;
    --primary-hover: #c8f809;
    --primary-light: #818CF8;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border-color: #E5E7EB;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #E5E7EB;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

/* Container */
.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: var(--bg-white);
    border-radius: 0;
    overflow: hidden;
}

/* Left Side - Login Section */
.login-section {
    flex: 1;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon img,
.logo-img {
    /* width: 36px; */
    height: 100px;
    object-fit: contain;
}

.logo-text {
    font-size: 30px;
    font-weight: 600;
    color: #333;
}

/* Login Form Container */
.login-form-container {
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
    padding-top: 23px;
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--text-secondary);
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
}

.forgot-password {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF7A3D, #FF9A5A);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 5px;
}

.login-btn:hover {
    background: var(--primary-hover);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 5px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.social-btn:hover {
    background: var(--bg-gray);
    border-color: var(--text-muted);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* Register Text */
.register-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* Login Footer */
.login-footer {
    display: flex;
    justify-content: center !important;
    align-items: center;
    margin-top: auto;
    padding-top: 40px;
    font-size: 12px;
    color: var(--text-muted);
}

.privacy-link {
    color: var(--text-muted);
    text-decoration: none;
}

.privacy-link:hover {
    color: var(--text-secondary);
}

/* Right Side - Preview Section */
.preview-section {
    flex: 1;
    /* background: linear-gradient(135deg, #4F46E5 0%, #6366F1 50%, #4F46E5 100%); */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Image cover full area */
.preview-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    /* padding: 14px;
    border-radius: 25px; */
    /* opacity: 0.2;     optional overlay effect */
}

/* Content above image */
.preview-content {
    position: relative;
    max-width: 450px;
    color: #5e9410;
    z-index: 2;
    padding: 85px 0px;
}

.preview-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #111827;
}

.preview-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

.main-card {
    padding: 20px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.dashboard-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

    .preview-section {
        display: none;
    }

    .login-section {
        padding: 30px;
    }

    .login-form-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: flex-start;
    }

    .container {
        border-radius: 0;
        min-height: 100vh;
    }

    .login-section {
        padding: 20px;
    }

    .social-login {
        flex-direction: column;
    }

    .login-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.container {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}