* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f7f9fc;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

.container {
    display: flex;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    overflow: hidden;
    min-height: 600px;
}

/* Left Panel Styling */
.left-panel {
    flex: 1;
    background: linear-gradient(145deg, #1a6fb3, #0d4d81);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.left-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.logo span {
    color: #a3d0ff;
}

.left-panel h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.left-panel p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 30px;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.security-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-badge i {
    font-size: 24px;
    margin-right: 15px;
    color: #4cd964;
}

.security-badge span {
    font-size: 14px;
    font-weight: 500;
}

/* Right Panel Styling */
.right-panel {
    flex: 1.1;
    background: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.form-header {
    display: flex;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 17px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #1a6fb3;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1a6fb3;
    border-radius: 3px 3px 0 0;
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a2935;
}

.form-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 22px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

input {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #fafbfd;
}

select {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #fafbfd;
}

input:focus {
    outline: none;
    border-color: #1a6fb3;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(26, 111, 179, 0.1);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember {
    display: flex;
    align-items: center;
}

.remember input {
    width: auto;
    margin-right: 8px;
}

.forgot-password {
    color: #1a6fb3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password:hover {
    color: #0d4d81;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to right, #1a6fb3, #0d4d81);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(26, 111, 179, 0.2);
}

.submit-button:hover {
    background: linear-gradient(to right, #0d4d81, #0a3d6b);
    box-shadow: 0 6px 16px rgba(26, 111, 179, 0.3);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #888;
    font-size: 14px;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 42%;
    height: 1px;
    background: #eaeaea;
}

.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 42%;
    height: 1px;
    background: #eaeaea;
}

.switch-form {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #666;
}

.switch-form a {
    color: #1a6fb3;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.2s;
}

.switch-form a:hover {
    color: #0d4d81;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        max-width: 480px;
    }

    .left-panel {
        padding: 40px 30px;
    }

    .right-panel {
        padding: 40px 30px;
    }
}
