* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    display: flex;
    width: 1000px;
    max-width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Left Side - Exact replica */
.left-side {
    width: 50%;
    background: linear-gradient(135deg, #0a1f44 0%, #0d2b5a 50%, #051a3a 100%);
    position: relative;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    overflow: hidden;
}

/* Network pattern overlay */
.left-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='lineGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%2300d4ff;stop-opacity:0.3' /%3E%3Cstop offset='100%25' style='stop-color:%230066ff;stop-opacity:0.1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M50,50 L150,100 L250,80 L350,150' stroke='url(%23lineGrad)' stroke-width='1' fill='none'/%3E%3Cpath d='M100,200 L200,150 L300,200 L380,120' stroke='url(%23lineGrad)' stroke-width='1' fill='none'/%3E%3Cpath d='M30,300 L120,250 L220,280 L320,320' stroke='url(%23lineGrad)' stroke-width='1' fill='none'/%3E%3Cpath d='M80,80 L180,180 L280,120' stroke='url(%23lineGrad)' stroke-width='1' fill='none'/%3E%3Cpath d='M200,50 L280,100 L350,60' stroke='url(%23lineGrad)' stroke-width='1' fill='none'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%2300d4ff'/%3E%3Ccircle cx='150' cy='100' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='250' cy='80' r='5' fill='%2300d4ff'/%3E%3Ccircle cx='350' cy='150' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='100' cy='200' r='4' fill='%2300d4ff'/%3E%3Ccircle cx='200' cy='150' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='300' cy='200' r='4' fill='%2300d4ff'/%3E%3Ccircle cx='380' cy='120' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='30' cy='300' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='120' cy='250' r='4' fill='%2300d4ff'/%3E%3Ccircle cx='220' cy='280' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='320' cy='320' r='4' fill='%2300d4ff'/%3E%3Ccircle cx='80' cy='80' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='180' cy='180' r='5' fill='%2300d4ff'/%3E%3Ccircle cx='280' cy='120' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='200' cy='50' r='4' fill='%2300d4ff'/%3E%3Ccircle cx='280' cy='100' r='3' fill='%2300d4ff'/%3E%3Ccircle cx='350' cy='60' r='4' fill='%2300d4ff'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.6;
}

.logo-section {
    position: relative;
    z-index: 1;
}

/* EXACT SAME LOGO */
.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 12px;
}

.brand-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: white;
}

.welcome-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.welcome-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    color: white;
}

.welcome-text {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
    color: #e0e0e0;
    max-width: 280px;
}

.carousel-dots {
    display: flex;
    gap: 6px;
    margin-top: 25px;
}

.dot {
    width: 18px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.dot.active {
    background: #3b82f6;
    width: 24px;
}

/* Right Side */
.right-side {
    width: 50%;
    padding: 50px 45px;
    background: white;
}

.form-header {
    margin-bottom: 25px;
}

.form-title {
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    transition: all 0.2s;
    background: #fafafa;
}

input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input::placeholder {
    color: #9ca3af;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

button.input-icon {
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
}

button.input-icon:hover {
    color: #3b6af0;
}

.forgot-password {
    margin: 15px 0 25px 0;
}

.forgot-password a {
    color: #374151;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    color: #3b82f6;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #3b6af0;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.submit-btn:hover {
    background: #2d5bd9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 107, 240, 0.3);
}

@media (max-width: 768px) {
    .container { flex-direction: column; }
    .left-side, .right-side { width: 100%; }
    .left-side { min-height: 280px; padding: 35px 30px; }
    .right-side { padding: 35px 25px; }
    .form-row { flex-direction: column; gap: 0; }
}

input.is-invalid {
    border-color: #ef4444;
    background-color: #fff5f5;
}

input.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.signup-link {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.signup-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}
