* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    background: #f9fafb;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    background: #ffffff;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    max-width: 700px;
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

h1 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 700;
}

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

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f3f4f6;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #0066cc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

label .required {
    color: #ef4444;
    margin-left: 2px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

.btn-signin {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-signin:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;
}

.signup-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.right-section {
    flex: 1;
    background: linear-gradient(135deg, #0066cc 0%, #ff8c42 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-content {
    text-align: center;
    padding: 60px;
    color: white;
    z-index: 2;
}

.right-content img {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.right-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.right-content p {
    font-size: 18px;
    opacity: 0.95;
    line-height: 1.6;
}

.bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.icon {
    position: absolute;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 2;
    fill: none;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.help-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

@media (max-width: 1200px) {
    .left-section {
        max-width: 600px;
        padding: 40px 40px;
    }
}

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

    .left-section {
        max-width: 100%;
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .right-section {
        display: none;
    }

    h1 {
        font-size: 28px;
    }
}