/* ========================================
   Auth CSS - Styles for login/landing pages
   ======================================== */

/* Gradient background */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Login link */
.login-link {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Center container */
.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* Card container */
.container, .card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.login-container {
    max-width: 400px;
}

/* Typography */
h1 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 2.5em;
}

h2 {
    color: #764ba2;
    margin-bottom: 15px;
    font-size: 1.3em;
}

p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Status indicator */
.status {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 10px;
}

.status-indicator--pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Links */
.links {
    margin-top: 30px;
}

.links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.links a:hover {
    color: #764ba2;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

button, input[type="submit"] {
    background: none;
    color: #667eea;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    padding: 10px 0;
    text-decoration: underline;
    display: inline-block;
    width: auto;
}

button:hover, input[type="submit"]:hover {
    color: #764ba2;
}

/* Login form submit button - scoped to login container */
.login-container button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.login-container button[type="submit"]:hover {
    opacity: 0.9;
}

/* Flash messages */
.flash-messages {
    margin-bottom: 20px;
}

.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.alert-danger {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

