/* reste global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* style global */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* container login register */
.auth-container {
    width: 100%;
    max-width: 1000px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* tampilan kanan */
.auth-left {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* karakter tampilan lingkaran atas */
.auth-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

/* karakter tampilan lingkaran bawah */
.auth-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

/* logo */
.logo-section {
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo-icon-big {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.logo-text {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.logo-tagline {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.book-illustration {
    margin-top: 40px;
    font-size: 120px;
    opacity: 0.3;
}

/* tampilan kiri/isi form */
.auth-right {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* header welcome */
.auth-header {
    margin-bottom: 40px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: #6b7280;
}

.auth-subtitle a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.auth-subtitle a:hover {
    text-decoration: underline;
}
/* form */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-error {
    color: #ef4444; 
    font-size: 14px; 
    font-weight: 500;
    display: block;
    margin-top: 6px;
}

.form-input::placeholder {
    color: #9ca3af;
}

/* ?? */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* button submit */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* form error */
.form-error {
    color: #ef4444; 
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: 6px; 
}

/* responsiv break point authentication */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        padding: 40px 30px;
        min-height: 300px;
    }
    
    .auth-right {
        padding: 40px 30px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .auth-title {
        font-size: 26px;
    }
    
    .book-illustration {
        display: none;
    }
}
