:root {
    --benfica-red: #e31b23;
    --benfica-gold: #c6a87d;
    --dark-red: #8b0000;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: url('../images/stadiums/estadio-luz.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../images/serve.php?img=stadiums/estadio-luz.jpg');
    background-size: cover;
    background-position: center;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 27, 35, 0.9), rgba(139, 0, 0, 0.9));
    z-index: -1;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: slideUp 0.5s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 100px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.title-container h1 {
    color: var(--benfica-red);
    font-size: 2em;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-color);
    font-size: 0.9em;
    opacity: 0.8;
}

.input-group {
    margin-bottom: 20px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i {
    position: absolute;
    left: 15px;
    color: #666;
}

.input-icon input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.input-icon input:focus {
    border-color: var(--benfica-red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.1);
}

.options-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9em;
    color: var(--text-color);
}

.forgot-password {
    color: var(--benfica-red);
    text-decoration: none;
    font-size: 0.9em;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--benfica-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--text-color);
    font-size: 0.9em;
}

.register-link {
    color: var(--benfica-red);
    text-decoration: none;
    font-weight: bold;
}

.register-link:hover {
    text-decoration: underline;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        padding: 30px;
    }

    .options-group {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

.section-divider {
    margin: 30px 0 20px;
    text-align: left;
}

.section-divider h3 {
    color: var(--benfica-red);
    font-size: 1.1em;
    margin-bottom: 15px;
}

.file-upload-group {
    margin-bottom: 20px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px dashed var(--benfica-red);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background-color: rgba(227, 27, 35, 0.05);
}

.file-upload-label input[type="file"] {
    display: none;
}

.upload-preview {
    margin-top: 10px;
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
    border-radius: 5px;
}

.upload-preview img {
    width: 100%;
    height: auto;
}

.upload-note {
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
    padding: 8px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
}

.upload-note::before {
    content: "⚠️";
    margin-right: 5px;
}

/* Estilos para o formulário de registro */
.section-divider {
    margin: 30px 0 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.section-divider h3 {
    color: var(--benfica-red);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-instruction {
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.file-upload-group {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border: 2px dashed var(--benfica-red);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background-color: rgba(227, 27, 35, 0.05);
}

.file-upload-label input[type="file"] {
    display: none;
}

.upload-preview {
    margin-top: 10px;
    max-width: 300px;
    max-height: 200px;
    overflow: hidden;
    border-radius: 5px;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.upload-preview img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.upload-note {
    margin-top: 10px;
    font-size: 0.9em;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ajuste do container para o formulário de registro */
.login-container {
    max-width: 500px;
    margin: 20px;
}

/* Responsividade */
@media (max-width: 480px) {
    .file-upload-group {
        padding: 10px;
    }
    
    .upload-preview {
        max-width: 100%;
    }
}

/* Adicionar/modificar na seção de responsividade */
@media (max-width: 768px) {
    .login-container {
        margin: 10px;
        padding: 20px;
        width: 90%;
        max-width: none;
    }

    .title-container h1 {
        font-size: 1.8em;
    }

    .input-group {
        margin-bottom: 15px;
    }

    .input-icon input {
        padding: 12px 12px 12px 40px;
        font-size: 16px; /* Melhor para dispositivos móveis */
    }

    .options-group {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .file-upload-group {
        padding: 10px;
    }

    .upload-preview {
        max-width: 100%;
    }

    .login-btn {
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-height: 700px) {
    .login-wrapper {
        padding: 20px 0;
    }
}

.dashboard {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url('../images/stadiums/estadio-luz.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

/* Card de Notícias */
.card.news {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    padding: 20px;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.news-item {
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    border-color: #ddd;
}

.news-title {
    color: var(--benfica-red);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    line-height: 1.4;
}

.news-bullet {
    color: var(--benfica-red);
    font-size: 1.4em;
    line-height: 1;
    opacity: 0.8;
}

.news-title:hover {
    color: #8b0000;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 150px;
        flex: none;
    }
} 