:root {
    --tbf-primary: #361793;
    --tbf-secondary: #621C8A;
    --tbf-accent: #A52A97;
    --tbf-light: #E195B6;
    --tbf-very-light: #F9F0F4;
    --tbf-complementary: #4CADB8;
    --tbf-white: #FFFFFF;
    --tbf-gray: #8A8A8F;
    --tbf-border: #DADADA;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--tbf-very-light);
    min-height: 100vh;
    overflow-x: hidden;
}

.login-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
}

.form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
}

.form-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(54, 23, 147, 0.15);
    border: 1px solid rgba(54, 23, 147, 0.1);
}

.logo-container {
    margin-bottom: 2rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    background-image: url('/tbf-portal/assets/img/logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-icon::before {
    content: '';
}

.welcome-title {
    color: var(--tbf-primary);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.welcome-subtitle {
    color: var(--tbf-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.btn-google {
    background: white;
    border: 1px solid var(--tbf-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--tbf-gray);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-google:hover {
    border-color: var(--tbf-secondary);
    color: var(--tbf-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(98, 28, 138, 0.1);
}

.google-icon {
    width: 18px;
    height: 18px;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: var(--tbf-gray);
    font-size: 0.875rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tbf-border);
}

.divider span {
    background: white;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    color: var(--tbf-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.form-control {
    border: 1px solid var(--tbf-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}

.form-control:focus {
    border-color: var(--tbf-secondary);
    box-shadow: 0 0 0 0.2rem rgba(98, 28, 138, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: var(--tbf-gray);
}

.btn-primary-tbf {
    background: var(--tbf-secondary);
    border: none;
    border-radius: 8px;
    padding: 1.25rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.btn-primary-tbf:hover {
    background: var(--tbf-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(54, 23, 147, 0.3);
}

.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.form-links a {
    color: var(--tbf-complementary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-links a:hover {
    color: var(--tbf-secondary);
}

.illustration-section {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.illustration-content {
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meditation-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    background-image: url('/tbf-portal/assets/img/meditasyon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.meditation-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-leaf {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.leaf-1 {
    top: 10%;
    left: 10%;
    color: #68B684;
    font-size: 2rem;
    animation-delay: 0s;
}

.leaf-2 {
    top: 20%;
    right: 15%;
    color: #F97316;
    font-size: 1.5rem;
    animation-delay: 2s;
}

.leaf-3 {
    bottom: 30%;
    left: 20%;
    color: var(--tbf-accent);
    font-size: 1.8rem;
    animation-delay: 4s;
}

.leaf-4 {
    bottom: 20%;
    right: 10%;
    color: var(--tbf-complementary);
    font-size: 1.3rem;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #dc3545;
    font-size: 0.9rem;
    text-align: center;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #28a745;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .illustration-section {
        order: 2;
        min-height: 300px;
    }
    
    .form-section {
        order: 1;
        padding: 2rem;
    }
    
    .form-container {
        max-width: 100%;
        padding: 2rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .meditation-illustration {
        min-height: 250px;
    }
    
    .meditation-image {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 1rem;
    }
    
    .form-container {
        max-width: 100%;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(54, 23, 147, 0.1);
    }
    
    .btn-primary-tbf,
    .btn-google {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon::before {
        font-size: 1.5rem;
    }
} 