:root {
--primary: #1E40AF;
--primary-light: #3B82F6;
--secondary: #10B981;
--danger: #EF4444;
--warning: #F59E0B;
--dark: #1F2937;
--light: #F9FAFB;
--gray: #6B7280;
--border: #E5E7EB;
--shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
--radius: 12px;
--transition: all 0.3s ease;
}

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

body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}

.container {
width: 100%;
max-width: 1200px;
}

.header {
text-align: center;
margin-bottom: 30px;
color: white;
}

.header h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 10px;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header p {
font-size: 1.1rem;
opacity: 0.9;
max-width: 600px;
margin: 0 auto;
}

/* Payment Icons */
.payment-icons {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
flex-wrap: wrap;
}

.payment-icon {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 24px;
transition: var(--transition);
border: 2px solid rgba(255, 255, 255, 0.3);
}

.payment-icon:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.3);
}

/* Main Card */
.main-card {
background: white;
border-radius: var(--radius);
box-shadow: var(--shadow);
overflow: hidden;
display: flex;
min-height: 600px;
position: relative;
}

/* Left Panel */
.left-panel {
flex: 1;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
color: white;
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
overflow: hidden;
}

.left-panel::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
background-size: cover;
}

.panel-content {
position: relative;
z-index: 2;
}

.left-panel h2 {
font-size: 2.2rem;
margin-bottom: 20px;
font-weight: 700;
line-height: 1.3;
}

.left-panel p {
font-size: 1rem;
opacity: 0.9;
line-height: 1.6;
margin-bottom: 30px;
}

.features {
margin-top: 30px;
}

.feature {
display: flex;
align-items: center;
margin-bottom: 15px;
font-size: 0.95rem;
}

.feature i {
margin-right: 10px;
color: #BFDBFE;
}

.toggle-btn {
background: rgba(255, 255, 255, 0.2);
border: 2px solid rgba(255, 255, 255, 0.3);
color: white;
padding: 12px 30px;
border-radius: 50px;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
transition: var(--transition);
margin-top: 20px;
display: inline-block;
backdrop-filter: blur(10px);
}

.toggle-btn:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Right Panel */
.right-panel {
flex: 1;
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
background: var(--light);
}

.form-container {
max-width: 400px;
width: 100%;
margin: 0 auto;
}

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

.logo h3 {
font-size: 1.8rem;
color: var(--primary);
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}

.logo span {
color: var(--secondary);
}

.form-title {
font-size: 1.8rem;
color: var(--dark);
margin-bottom: 8px;
font-weight: 700;
}

.form-subtitle {
color: var(--gray);
font-size: 0.95rem;
margin-bottom: 30px;
}

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

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

.input-with-icon {
position: relative;
}

.input-with-icon input {
width: 100%;
padding: 14px 16px;
padding-left: 45px;
border: 2px solid var(--border);
border-radius: 10px;
font-size: 1rem;
color: var(--dark);
transition: var(--transition);
background: white;
}

.input-with-icon input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-icon {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: var(--gray);
font-size: 1rem;
}

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

/* File Upload Styles */
.file-upload-group {
border: 2px dashed var(--border);
border-radius: 10px;
padding: 20px;
text-align: center;
background: white;
transition: var(--transition);
margin-bottom: 15px;
}

.file-upload-group:hover {
border-color: var(--primary);
background: #f8fafc;
}

.file-upload-label {
display: block;
color: var(--dark);
margin-bottom: 10px;
font-weight: 500;
}

.file-input-wrapper {
position: relative;
display: inline-block;
width: 100%;
}

.file-input-wrapper input[type="file"] {
position: absolute;
left: 0;
top: 0;
opacity: 0;
width: 100%;
height: 100%;
cursor: pointer;
}

.file-upload-button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(--light);
color: var(--dark);
border-radius: 8px;
border: 1px solid var(--border);
font-size: 0.9rem;
cursor: pointer;
transition: var(--transition);
}

.file-upload-button:hover {
background: var(--border);
}

.file-name {
font-size: 0.85rem;
color: var(--gray);
margin-top: 8px;
word-break: break-all;
}

.file-hint {
font-size: 0.8rem;
color: var(--gray);
margin-top: 5px;
font-style: italic;
}

.btn-submit {
width: 100%;
padding: 16px;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
color: white;
border: none;
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
margin-top: 10px;
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Alert Messages */
.alert {
padding: 14px 16px;
border-radius: 10px;
font-size: 0.95rem;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}

.alert.error {
background: #FEF2F2;
color: var(--danger);
border: 1px solid #FECACA;
}

.alert.success {
background: #ECFDF5;
color: #047857;
border: 1px solid #A7F3D0;
}

.alert i {
font-size: 1.2rem;
}

/* Form Toggle */
#register-form {
display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
.main-card {
flex-direction: column;
min-height: auto;
}

.left-panel,
.right-panel {
padding: 30px;
}

.header h1 {
font-size: 2rem;
}

.payment-icon {
width: 50px;
height: 50px;
font-size: 20px;
}
}

@media (max-width: 768px) {
.container {
padding: 10px;
}

.header h1 {
font-size: 1.8rem;
}

.header p {
font-size: 1rem;
}

.left-panel h2 {
font-size: 1.8rem;
}

.form-title {
font-size: 1.6rem;
}

.input-with-icon input {
padding: 12px 14px;
padding-left: 40px;
}

.btn-submit {
padding: 14px;
}

.file-upload-group {
padding: 15px;
}
}

@media (max-width: 480px) {

.left-panel,
.right-panel {
padding: 25px 20px;
}

.header h1 {
font-size: 1.5rem;
}

.payment-icons {
gap: 15px;
}

.payment-icon {
width: 45px;
height: 45px;
font-size: 18px;
}

.logo h3 {
font-size: 1.5rem;
}

.toggle-btn {
padding: 10px 25px;
font-size: 0.9rem;
}

.file-upload-button {
padding: 10px 20px;
}
}

/* Animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

.form-container {
animation: fadeIn 0.5s ease-out;
}
/* Remember Me Checkbox Styling */
.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4F46E5; /* Modern browsers */
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #4B5563;
}

.remember-me input[type="checkbox"]:checked {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .remember-me label {
        color: #D1D5DB;
    }
}