/* Font Face Declarations */
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit/Outfit-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Your existing body style */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    background: white;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 80px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #00897b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
}

.logo-icon::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #00897b;
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.login-content {
    max-width: 480px;
    margin: 0 auto;
}

h1 {
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
}

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

label {
    display: block;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #00897b;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.1);
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #00897b;
}

.toggle-password svg {
    width: 20px;
    height: 20px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00897b;
}

.remember-me label {
    margin: 0;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

.forgot-link {
    color: #00897b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #00796b;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: #00897b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #00796b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 137, 123, 0.3);
}

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

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

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

.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-btn {
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.social-btn:hover {
    border-color: #00897b;
    background: #f0f9f8;
}

.register-link {
    text-align: center;
    margin-top: 28px;
    color: #666;
    font-size: 14px;
}

.register-link a {
    color: #00897b;
    text-decoration: none;
    font-weight: 600;
}

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

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    color: #999;
    font-size: 13px;
}

.footer a {
    color: #999;
    text-decoration: none;
}

.footer a:hover {
    color: #00897b;
}

.right-section {
    flex: 1.2;
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.right-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.right-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.right-content {
    max-width: 600px;
    z-index: 1;
}

.right-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.right-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 50px;
}

.dashboard-preview {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.preview-header {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.preview-card {
    flex: 1;
    background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
    padding: 16px;
    border-radius: 12px;
    color: white;
}

.preview-card h3 {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.preview-card .value {
    font-size: 24px;
    font-weight: 700;
}

.preview-chart {
    height: 120px;
    background: linear-gradient(to top, rgba(0, 137, 123, 0.1) 0%, transparent 100%);
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60'%3E%3Cpath d='M0,50 Q50,30 100,35 T200,20' stroke='%2300897b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-size: cover;
}

.preview-list {
    color: #666;
    font-size: 13px;
}

.preview-list-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.preview-list-item:last-child {
    border-bottom: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent if on the teal background */
    letter-spacing: 0.5px;
}

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

    .right-section {
        min-height: 400px;
        padding: 40px 30px;
    }

    .right-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .left-section {
        padding: 30px 20px;
    }

    h1 {
        font-size: 32px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}