* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: #333;
    min-height: 100vh;
}

.register-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.register-container {
    display: flex;
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

.form-card {
    flex: 1;
    padding: 40px 50px;
}

.form-card h2 {
    font-size: 1.8rem;
    color: #0077b6;
    margin-bottom: 5px;
}

.form-card .subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s;
    font-family: 'Poppins', sans-serif;
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.remember-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.remember-row input[type="checkbox"] {
    width: auto;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #0077b6;
    outline: none;
}

.btn-primary {
    width: 100%;
    background: #0077b6;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0096c7;
}

.login-link {
    text-align: center;
    margin-top: 15px;
}

.login-link a {
    color: #0077b6;
    text-decoration: none;
    font-weight: 500;
}

.side-banner {
    flex: 1;
    background: #f0f9ff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.side-banner h1 {
    color: #0077b6;
    font-size: 2rem;
}

.side-banner p {
    color: #555;
    margin: 10px 0 20px;
    font-size: 1rem;
}

.side-banner img {
    width: 80%;
    max-width: 350px;
}

.text-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
}

.required {
    color: #dc2626;
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 900px) {
    .register-container {
        flex-direction: column;
    }
    .side-banner {
        display: none;
    }
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

/* Login Page Styles */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.login-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
    }
}

.login-form-side {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.login-brand-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
}

.login-brand h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 800;
}

.login-form-side h2 {
    font-size: 2rem;
    margin: 0 0 8px 0;
    color: #0f172a;
    font-weight: 800;
}

.login-form-side .subtitle {
    color: #64748b;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
    font-family: inherit;
}

.form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: #94a3b8;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.95rem;
    cursor: pointer;
}

.remember-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.25);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.3);
}

.register-prompt {
    text-align: center;
    margin-top: 24px;
    color: #64748b;
    font-size: 0.95rem;
}

.register-prompt a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.register-prompt a:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.login-banner-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-banner-side::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -100px;
    right: -80px;
    filter: blur(40px);
}

.login-banner-side::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    bottom: -110px;
    left: -70px;
    filter: blur(40px);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.6;
}

.banner-features {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
    text-align: left;
    max-width: 360px;
}

.banner-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    opacity: 0.95;
}

.banner-features li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.illustration {
    width: 100%;
    max-width: 360px;
    margin-top: 32px;
    opacity: 0.9;
}

.alert-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    border-left: 4px solid;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}