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

body.signin {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    overflow-x: hidden;
}

.login-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.brand-top {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.content-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 80px;
}

.form-wrapper {
    flex-shrink: 0;
}

.login-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    width: 400px;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #64748b;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-label {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    letter-spacing: 0.2px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 1;
}

.input-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 44px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    background: #fafbfc;
    transition: all 0.25s ease;
    outline: none;
}

.input-field input:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-field input::placeholder {
    color: #94a3b8;
}

/* Validation error message */
label.error {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    padding-left: 4px;
}

label.error i {
    margin-right: 4px;
}

.input-field input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-options {
    display: flex;
    justify-content: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkmark {
    background: #6366f1;
    border-color: #6366f1;
}

.checkbox-label input:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 11px;
}

.label-text {
    font-size: 13px;
    color: #64748b;
}

.login-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    margin-top: 8px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

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

.btn-icon {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.login-button:hover .btn-icon {
    transform: translateX(4px);
}

.info-wrapper {
    flex-shrink: 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.info-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 24px;
}

.accordion-item {
    margin-bottom: 16px;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #f8fafc;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
    text-align: left;
}

.accordion-header:hover {
    background: #f1f5f9;
}

.accordion-icon {
    color: #6366f1;
    transition: transform 0.25s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.accordion-content.expanded {
    max-height: 200px;
    padding: 16px;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    margin-top: -8px;
    border: 1px solid #e2e8f0;
    border-top: none;
}

.accordion-content p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.accordion-content ol {
    padding-left: 20px;
}

.accordion-content li {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

.flow-section {
    margin-top: 32px;
}

.flow-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.copyright-text {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #94a3b8;
    z-index: 10;
}

@media (max-width: 1024px) {
    .content-container {
        flex-direction: column;
        gap: 40px;
        padding: 20px;
        padding-top: 100px;
    }
    
    .bg-gradient {
        width: 100%;
        clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
    }
    
    .brand-name {
        color: #ffffff;
    }
    
    .login-box,
    .info-card {
        width: 100%;
        max-width: 420px;
    }
    
    .info-card {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .copyright-text {
        color: rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 480px) {
    .brand-top {
        left: 20px;
        top: 20px;
    }
    
    .brand-icon {
        width: 32px;
        height: 32px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .login-box {
        padding: 32px 24px;
    }
    
    .login-title {
        font-size: 26px;
    }
    
    .info-card {
        padding: 28px 24px;
    }
}
