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

:root {
    --primary-color: #0f172a; /* Navy */
    --accent-color: #2563eb; /* Royal Blue */
    --accent-hover: #1d4ed8;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Container - Split Screen */
.auth-wrapper {
    background: var(--white);
    width: 100%;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Left Side - Form */
.auth-panel-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 80px;
    background: var(--white);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.auth-logo img {
    max-width: 180px;
    height: auto;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: #fdfdfd;
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Password Toggle */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 1rem;
}

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

.password-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Form Options (Remember Me / Forgot PW) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.remember-me label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

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

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--text-gray);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Right Side - Visual Panel */
.auth-panel-visual {
    flex: 1;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Pattern */
.auth-panel-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.visual-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.visual-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.visual-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    gap: 20px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-card i {
    font-size: 1.5rem;
    color: #38bdf8; /* Light Blue */
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.benefit-card span {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 900px) {
    .auth-panel-visual {
        display: none;
    }
    
    .auth-panel-form {
        padding: 40px 20px;
        max-width: 500px;
    }
}
/* Professional Toast Notification */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: white;
    min-width: 320px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #ccc;
    transform: translateX(120%); /* Hidden by default */
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Success Style */
.toast.success {
    border-left-color: #10b981; /* Green */
}
.toast.success i {
    color: #10b981;
    background: #d1fae5;
}

/* Error Style */
.toast.error {
    border-left-color: #ef4444; /* Red */
}
.toast.error i {
    color: #ef4444;
    background: #fee2e2;
}

/* Icon Styling */
.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

/* Text Content */
.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
    display: block;
}

.toast-message {
    font-size: 13px;
    color: #64748b;
    display: block;
}