/* Main background style */
.login-pf body {
    background: var(--bg);
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    color: var(--text);
}

/* Header styles */
.auth-header {
    background-color: var(--header-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 100;
}

.auth-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.auth-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.auth-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-header-text {
    font-size: 16px;
    color: var(--text);
    font-weight: 500;
}

/* Footer styles */
.auth-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
}

.auth-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.auth-copyright {
    font-size: 14px;
}

/* Login card styles */
.card-pf {
    background-color: var(--card-bg);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    max-width: 500px;
    margin: 40px auto;
}

#kc-page-title {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid var(--border);
    padding: 10px 15px;
    width: 100%;
    font-size: 16px;
    background-color: var(--input-bg);
    color: var(--text);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(0, 135, 147, 0.3);
    outline: none;
}

/* Button styles */
.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    height: 45px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
}

/* Links styles */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .auth-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .auth-logo {
        margin-bottom: 10px;
    }
    
    .auth-header-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-pf {
        margin: 20px;
    }
    
    .language-dropdown {
        right: 50%;
        transform: translateX(50%);
    }
}

/* Make the card more prominent */
.login-pf-page .card-pf {
    padding: 30px 40px;
}

/* Social Login styles */
.auth-social-header {
    margin-top: 30px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.auth-social-header-text {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 15px;
}

.auth-social-button {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.auth-social-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.auth-social-button svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: var(--text);
}

.auth-social-text {
    color: var(--text);
    font-weight: 500;
}

#kc-social-providers ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#kc-social-providers li {
    flex: 0 0 auto;
    margin-bottom: 10px;
}

/* For the Telegram button container */
.telegram-web-login-widget-container {
    margin: 15px 0;
    width: 100%;
}

/* Improve form split layout */
.kc-form-split {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

#kc-form-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
}

.kc-social-section {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
}

@media (max-width: 768px) {
    .kc-form-split {
        flex-direction: column;
    }
    
    #kc-form-wrapper, 
    .kc-social-section {
        max-width: 100%;
    }
} 