/* 
  Hardcoded CSS styling for the Login Page. 
  Maintains the slate and indigo theme combination.
*/

:root {
    --bg-color: #f8fafc; /* Tailwind slate-50 */
    --card-bg: #ffffff;
    --text-main: #0f172a; /* Tailwind slate-900 */
    --text-muted: #64748b; /* Tailwind slate-500 */
    --primary: #4f46e5; /* Tailwind indigo-600 */
    --primary-hover: #4338ca; /* Tailwind indigo-700 */
    --primary-light: #e0e7ff; /* Tailwind indigo-100 */
    --border-color: #e2e8f0; /* Tailwind slate-200 */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

/* Container responsive limits */
.login-container {
    width: 100%;
    max-width: 440px;
}

/* Main card styles */
.login-card {
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    padding: 2.5rem 2.5rem;
    width: 100%;
}

/* Responsive adjustments for mobile and tablets */
@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
    }
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-container {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.header-icon {
    width: 2.25rem;
    height: 2.25rem;
    stroke-width: 1.5;
}

.login-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 1.25rem;
    height: 1.25rem;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.forgot-password {
    text-align: right;
    margin-top: 0.65rem;
}

.forgot-password a {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Primary Button */
.btn-primary {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.75rem;
}

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

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.75rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
}

/* Secondary Button (Google) */
.btn-secondary {
    width: 100%;
    padding: 0.875rem;
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--bg-color);
}

.google-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Sign Up Prompt */
.signup-prompt {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.signup-prompt a:hover {
    text-decoration: underline;
}
