@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
    --primary-color: #1C4B42;
    --secondary-color: #B4E717;
    --bg-color: #F9FAFB;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6B7280;
    --input-border: #E5E7EB;
    --input-focus: #1C4B42;
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-main: "Outfit", sans-serif;
}

body.auth-page {
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 1100px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.auth-form-side {
    flex: 1;
    padding: 60px; position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-image-side {
    flex: 1;
    position: relative;
    display: none;
}

@media (min-width: 992px) {
    .auth-image-side {
        display: block;
    }
}

.auth-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--primary-color);
    font-size: 16px;
}

.badge-how {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control-premium {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control-premium:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 4px rgba(28, 75, 66, 0.1);
}

.btn-premium {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-premium:hover {
    background-color: #14352e;
    transform: translateY(-1px);
}

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

.auth-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: var(--primary-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.error-msg {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.floating-badge .icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge .text {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.floating-badge .text span {
    font-weight: 700;
    text-decoration: underline;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-color);
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (max-width: 576px) {
    .auth-form-side {
        padding: 40px 24px;
    }
}

.back-home {
    text-decoration: none;
    position: absolute;
    top: 30px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    z-index: 10;
}

.back-home:hover {
    text-decoration: none;
    color: var(--primary-color);
}

@media (max-width: 576px) {
    .back-home {
    text-decoration: none;
        top: 15px;
        left: 20px;
    }
}

.back-home i {
    color: inherit;
}

.auth-page a {
    color: var(--primary-color);
}
