/* ===========================================
   GLOBAL STYLES - Streamflix
   Estilos compartidos entre todas las páginas
   =========================================== */

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    /*url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?w=1920&q=80') center/cover no-repeat;*/
    z-index: -1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0;
}

/* Main Container is handled globally */

/* Form Styles */
.form-group {
    margin-bottom: 16px;
    position: relative;
}

.login-card {
    padding: 60px;
}

.form-group label {
    display: block;
    color: #8c8c8c;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    background: #333;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: background 0.2s;
}

.form-group input:focus {
    background: #454545;
}

.form-group input::placeholder {
    color: #8c8c8c;
}

/* Password Toggle */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8c8c8c;
    cursor: pointer;
    font-size: 14px;
}

.password-toggle:hover {
    color: #fff;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #e5e5e5;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #737373;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #333;
}

.divider span {
    padding: 0 16px;
}

/* Social Button */
.social-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    transition: border-color 0.2s, background 0.2s;
}

.social-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #737373;
}

.footer p {
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: #737373;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive - Global */
@media (max-width: 500px) {
    .header {
        padding: 20px;
    }
}