/* Xocratic LMS - Clean Centered Login */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=PT+Sans:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    /* Brand Colors */
    --primary-color: #00b9cb;  /* Xocratic cyan-turquoise */
    --secondary-color: #f39c12; /* Yellow from logo */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    
    /* Spacing & Effects */
    --border-radius: 8px;
    --box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

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

/* Typography */
body {
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 20px;
}

/* Login Box with Logo */
.login-box {
    background: white;
    padding: 50px 40px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--primary-color);
    position: relative;
}

/* Logo Icon Above Login Box */
.login-box::before {
    content: '';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    background-image: url('../img/logos/logo-icon.png');
    background-size: 45px;
    background-repeat: no-repeat;
    background-position: center;
    
    /* Fallback design if no image */
    border: 3px solid var(--primary-color);
}

/* Temporary X logo if no image */
.login-box::after {
    content: 'X';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    z-index: -1;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 10px;
}

.login-box input {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background-color: #fafbfc;
}

.login-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 185, 203, 0.1);
    background-color: white;
}

/* Button */
.login-box button {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-box button:hover {
    background: #00a2b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 185, 203, 0.3);
}

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

a:hover {
    color: #00a2b3;
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.login-box p {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: var(--text-light);
}

/* Tagline */
.tagline {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .login-box {
        padding: 45px 30px 35px;
    }
    
    .login-box h2 {
        font-size: 22px;
    }
    
    .login-box button {
        font-size: 15px;
        padding: 12px 24px;
    }
}
