/* Estilos Globais */
:root {
    --primary-color: #00A388;
    --secondary-color: #008D76;
    --accent-color: #00BF9A;
    --light-color: #C5EAE4;
    --dark-color: #1A2E35;
    --menu-color: #006B5B;
    --gradient-primary: linear-gradient(135deg, #00A388, #008D76);
    --gradient-button: linear-gradient(90deg, #00A388, #008D76);
    --font-family: 'Roboto', sans-serif;
    --border-radius: 10px;
    --box-shadow: 0 4px 12px rgba(0, 107, 91, 0.15);
}

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

body {
    font-family: var(--font-family);
    background-color: #f5f5f5;
    color: var(--dark-color);
    line-height: 1.6;
}

.main-content {
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Estilos da Tela de Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--dark-color);
    background-image: linear-gradient(135deg, #1A2E35, #2C3E50);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(0, 163, 136, 0.1));
    z-index: -1;
    border-radius: var(--border-radius);
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 180px;
    height: auto;
}

.login-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: white;
    font-weight: 300;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: var(--border-radius);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 163, 136, 0.3);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-button);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.login-footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Faixa branca com logo */
.white-banner {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.logo-banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-logo {
    max-width: 250px;
    height: auto;
}

/* Estilos para o Painel Principal */
.main-header {
    background-color: var(--menu-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    max-width: 180px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--light-color);
}

.user-profile {
    display: flex;
    align-items: center;
    color: white;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Estilos para o Painel de Conteúdo */
.main-content {
    padding: 40px 0;
    background-color: #f5f5f5;
    min-height: calc(100vh - 70px);
}

.content-header {
    margin-bottom: 30px;
}

.content-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.content-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.content-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
}

.card-title {
    font-size: 1.2rem;
    margin: 0;
}

.card-body {
    padding: 20px;
}

.card-content {
    margin-bottom: 20px;
}

.card-footer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

/* Estilos para o Painel de Admin */
.admin-panel {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    background-color: rgba(0, 107, 91, 0.05);
    transition: all 0.3s ease;
}

.upload-area:hover {
    background-color: rgba(0, 107, 91, 0.1);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-text {
    margin-bottom: 20px;
    color: #666;
}

.file-input {
    display: none;
}

.upload-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

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

/* Responsividade */
@media (max-width: 768px) {
    .login-card {
        max-width: 90%;
        padding: 30px 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
}
