/* Global Styles & Typography */
@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'ZT Nature';
    src: url('../fonts/ZT_nature/ZT Nature - TT/ZTNature-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ZT Nature', sans-serif;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Login Page */
.login-page-body {
    background-color: white;
    height: 100vh;
    display: block;
    overflow-x: hidden;
}

.login-main-section {
    background: linear-gradient(135deg, #547ce9 0%, #172554 90%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
}

.login-card {
    background: white;
    width: 900px;
    max-width: 90%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Left: Image */
.login-image-col {
    flex: 8;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.login-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Right: Form */
.login-form-col {
    flex: 4;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.login-logo-img {
    width: 125px;
    height: auto;
    margin-bottom: 10px;
}

.login-brand-name {
    font-family: 'ZT Nature', sans-serif;
    font-size: 3.0rem;
    font-weight: 800;
    color: #03192b;
    letter-spacing: 0px;
}

.login-title {
    font-family: 'Helvetica', sans-serif;
    font-size: 1.0rem;
    color: #4b5563;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: center;
}

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

.login-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #374151;
    outline: none;
    transition: border-color 0.2s;
    background-color: #f9fafb;
    font-family: 'Helvetica', sans-serif;
}

.login-input:focus {
    border-color: #3b82f6;
    background-color: white;
}

/* Google Sign In Button */
.btn-sign-in {
    background-color: #032864;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s;
    width: 100%;
}

.btn-sign-in:hover {
    background-color: #3367d6;
}

.google-icon-wrapper {
    background-color: white;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.google-icon-wrapper img {
    width: 20px;
    height: 20px;
}

.btn-text {
    flex-grow: 1;
    text-align: center;
    padding-right: 42px;
}

/* Sign Out Button */
.btn-sign-out {
    background-color: white;
    color: #4285f4;
    border: 1px solid #e5e7eb;
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    font-family: 'Helvetica', sans-serif;
    width: 100%;
}

.btn-sign-out:hover {
    background-color: #f9fafb;
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    z-index: 10000;
    font-family: 'Helvetica', sans-serif;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 1px solid #ffc107;
}

.alert .close {
    opacity: 0.8;
}

.alert .close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .login-main-section {
        padding: 40px 15px;
        min-height: auto;
    }

    .login-card {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
    }

    .login-image-col {
        height: 200px;
        flex: none;
    }

    .login-form-col {
        padding: 30px 20px;
        flex: none;
    }

    .login-logo-img {
        width: 70px;
    }

    .login-brand-name {
        font-size: 2.5rem;
    }

    .login-title {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .login-form {
        gap: 15px;
    }

    .login-input {
        padding: 12px;
        font-size: 0.95rem;
    }

    .btn-sign-in {
        padding: 2px;
    }

    .google-icon-wrapper {
        width: 36px;
        height: 36px;
        margin-right: 12px;
    }

    .btn-text {
        padding-right: 36px;
        font-size: 0.95rem;
    }
}
