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

body {
    color: #333;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signin-container {
    display: flex;
    height: 100vh;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    background: #fff;
}

/* LEFT SIDE - FORM SECTION */
.form-section {
    width: 50%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
    background: #fff;
}

.form-section::-webkit-scrollbar {
    width: 8px;
}

.form-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.form-section::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.form-section::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.form-content {
    width: 100%;
    max-width: 480px;
}

.logo {
    width: 180px;
    margin-bottom: 40px;
}

.main-title {
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

/* GOOGLE BUTTON */
.google-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-button:hover {
    background: #f8f8f8;
    border-color: #d0d0d0;
}

.google-icon {
    background: conic-gradient(from -45deg,
    #4285f4 110deg,
    #34a853 110deg 180deg,
    #fbbc05 180deg 250deg,
    #ea4335 250deg
    ) 50% 50% / 20px 20px no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 20px;
}

/* DIVIDER */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    padding: 0 16px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #ff4444;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* FORGOT PASSWORD */
.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: 14px;
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* SUBMIT BUTTON */
.submit-button {
    width: 100%;
    padding: 14px 24px;
    background: blue;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-button:hover {
    background: blue;
}

.submit-button:disabled {
    background: blue;
    cursor: not-allowed;
}

/* SIGNUP LINK */
.signup-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

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

.signup-link a:hover {
    text-decoration: underline;
}

/* RIGHT SIDE - IMAGE SECTION */
.image-section {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.image-section img {
    width: auto;
    height: auto;
    max-width: 70vh;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

/* SPINNER */
.custom-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .signin-container {
        flex-direction: column;
    }

    .form-section {
        width: 100%;
        height: 100vh;
        min-height: auto;
    }

    .image-section {
        display: none;
    }
}

@media (max-width: 768px) {
    .form-section {
        padding: 24px;
        height: 100vh;
    }

    .main-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
    }

    .logo {
        width: 150px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 20px;
    }
}