/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary.large {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #2563eb;
    color: #2563eb;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23e2e8f0" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 80px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 4px;
}

/* Featured Properties Section */
.featured-properties {
    padding: 120px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    font-weight: 400;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

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

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
}

.house-placeholder {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.apartment-placeholder {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.condo-placeholder {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.placeholder-text {
    font-size: 16px;
    opacity: 0.9;
}

.property-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.property-content {
    padding: 24px;
}

.property-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.property-location {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
}

.property-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.property-features {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.feature {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-icon {
    font-size: 16px;
    margin-top: 2px;
}

.office-hours p {
    font-size: 14px;
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        gap: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .property-card {
        margin: 0 -8px;
    }
}


.property-details {
    padding-top: 100px;
    /* <-- ADICIONE ESTA LINHA */
    padding-bottom: 50px;
    /* ou 100px se quiser mais espaço */
}

.property-details .details-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.property-details .gallery {
    flex: 1 1 400px;
}

.property-details .gallery-image {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.property-details .gallery-thumbnails {
    display: flex;
    gap: 10px;
}

.property-details .gallery-thumbnails .thumb {
    flex: 1;
    height: 80px;
    background-color: #cfcfcf;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    border-radius: 4px;
    cursor: pointer;
}

.property-details .property-info {
    flex: 1 1 400px;
}

/* Properties Page Specific Styles */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.filter-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

.filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    align-items: end;
    margin-bottom: 32px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.filter-select,
.filter-input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: white;
    transition: all 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.transaction-type {
    display: flex;
    gap: 8px;
}

.type-option {
    flex: 1;
    padding: 12px 24px;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.type-option:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.type-option.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.search-button-container {
    display: flex;
    justify-content: center;
}

.search-button {
    padding: 14px 48px;
    font-size: 16px;
}

.properties-section {
    padding: 80px 0 120px;
    background: #ffffff;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

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

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    position: relative;
}

.house-placeholder {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.apartment-placeholder {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.condo-placeholder {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.office-placeholder {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.villa-placeholder {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.placeholder-text {
    font-size: 16px;
    opacity: 0.9;
}

.property-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-rent {
    background: rgba(16, 185, 129, 0.9);
}

.badge-buy {
    background: rgba(37, 99, 235, 0.9);
}

.property-content {
    padding: 24px;
}

.property-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.property-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.property-features {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.feature {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.property-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
}

/* End Properties Page Specific Styles */

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

    .filter-container {
        grid-template-columns: 1fr;
    }

    .transaction-type {
        flex-direction: column;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Panel Styles */
.admin-panel {
    padding: 120px 0 80px;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
    /* Adjust based on your footer height */
    text-align: center;
}

.admin-panel .page-title {
    margin-bottom: 16px;
}

.admin-panel .section-subtitle {
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.admin-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.admin-button {
    display: block;
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* --- Estilos para a Página de Cadastro de Imóvel --- */

/* Estilos para a área de upload de fotos (coluna da esquerda) */
.upload-main-photo,
.upload-gallery-photos {
    width: 100%;
    height: 300px;
    background-color: #f1f5f9;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #6b7280;
    margin-bottom: 16px;
}

.upload-gallery-photos {
    height: 150px;
    margin-top: 32px;
}

.upload-button {
    width: 100%;
}

/* Estilos para o formulário (coluna da direita) */
.cadastro-form .form-group {
    margin-bottom: 20px;
}

.cadastro-form .form-group-grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Define 2 colunas de tamanho igual */
    gap: 16px;
}

.cadastro-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.cadastro-form .form-input,
.cadastro-form .form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.cadastro-form .form-input:focus,
.cadastro-form .form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cadastro-form .form-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cadastro-form .form-actions {
    margin-top: 32px;
    display: flex;
    /* Alinha os botões na horizontal */
    gap: 16px;
    /* Cria um espaço entre os botões */
}

.cadastro-form .form-actions .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}


/*Cadastro Funcionario */

.form-container {
    max-width: 700px;
    /* Define uma largura máxima para o formulário */
    margin: 0 auto;
    /* Centraliza o container na página */
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* --- Estilo para o ID do Imóvel no Card --- */
/* Novo container para alinhar localização e ID */
.location-id-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    /* Mantém o espaçamento que a localização tinha */
}

.property-content {
    position: relative;
    /* Necessário para posicionar o ID dentro dele */
}

.property-id {
    background-color: #e2e8f0;
    color: #64748b;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* --- Estilos para a Lista de Imóveis (ConsultarImovel.php) --- */
.property-list-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

/* DEPOIS - Substitua pelo código abaixo */
.property-list-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    /* Aumentei a margem para separar melhor */
    transition: all 0.3s ease;
}

/* --- Media Query para telas menores --- */
@media (max-width: 992px) {
    .property-list-item {
        flex-direction: column;
        /* Itens ficam um em cima do outro */
        align-items: stretch;
        /* Itens ocupam a largura total */
    }

    .list-item-price,
    .list-item-info {
        text-align: left;
        /* Alinha o texto à esquerda */
    }

    .list-item-actions {
        justify-content: flex-end;
        /* Alinha os botões à direita */
    }
}

.property-list-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.list-item-image {
    flex-shrink: 0;
    /* Para a imagem não encolher */
    width: 300px;
    height: 225px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Essencial para posicionar as setas */
    overflow: hidden;
}

.list-item-image .placeholder-icon {
    font-size: 90px;
}

.list-item-info {
    flex-grow: 1;
    /* Para ocupar o espaço restante */
}

.list-item-price {
    min-width: 150px;
    text-align: right;
}

.list-item-actions {
    display: flex;
    gap: 12px;
}

/* Login Page Specific Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
}

.login-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 48px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #f1f5f9;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h2 {
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header .subtitle {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.login-button {
    width: 100%;
    margin-top: 8px;
}

.return-link {
    position: absolute;
    top: 24px;
    left: 24px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.return-link:hover {
    color: #1d4ed8;
}

.return-link::before {
    content: '← ';
    margin-right: 4px;
}

.logo-section {
    text-align: center;
    margin-bottom: 24px;
}

.logo-section h3 {
    color: #2563eb;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-wrapper {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .return-link {
        position: static;
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* 2. Novo Design para as Setas de Navegação */
.list-item-image .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    /* Design circular */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    /* Centralização do ícone da seta */
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    text-decoration: none;
    cursor: pointer;

    /* Efeito de transição */
    opacity: 0;
    /* Escondido por padrão */
    transition: all 0.3s ease;
}

/* As setas aparecem quando o mouse passa por cima da imagem */
.list-item-image:hover .arrow {
    opacity: 1;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Posicionamento individual das setas */
.arrow.arrow-prev {
    left: 12px;
}

.arrow.arrow-next {
    right: 12px;
}

/* Login Page Specific Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
}

.login-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 48px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #f1f5f9;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-header h2 {
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header .subtitle {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.login-button {
    width: 100%;
    margin-top: 8px;
}

.return-link {
    position: absolute;
    top: 24px;
    left: 24px;
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.return-link:hover {
    color: #1d4ed8;
}

.return-link::before {
    content: '← ';
    margin-right: 4px;
}

.logo-section {
    text-align: center;
    margin-bottom: 24px;
}

.logo-section h3 {
    color: #2563eb;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-wrapper {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .return-link {
        position: static;
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* --- Estilos para a Lista de Funcionários --- */

.employee-list-container {
    max-width: 900px;
    margin: 0 auto; /* Centraliza a lista na página */
}

.employee-list-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.employee-list-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.employee-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%; /* Deixa o avatar redondo */
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #64748b;
}

.employee-info {
    flex-grow: 1;
}

.employee-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.employee-details {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
}

.employee-actions {
    display: flex;
    gap: 12px;
}

/* Novo Estilo para Botão de Perigo (Remover) */
/* --- Estilos para a Tabela de Funcionários --- */

.page-actions {
    display: flex;
    justify-content: flex-start; /* Alinha o botão à esquerda */
    margin-bottom: 24px;
}

.table-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden; /* Garante que a borda arredondada funcione na tabela */
}

.employee-table {
    width: 100%;
    border-collapse: collapse; /* Remove espaços entre as células */
}

.employee-table th,
.employee-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9; /* Linha estilo excel */
}

.employee-table thead th {
    background-color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.employee-table tbody tr:hover {
    background-color: #f9fafb;
}

.employee-table .actions-cell {
    display: flex;
    gap: 8px;
    justify-content: flex-end; /* Alinha os botões à direita da célula */
}


/* Container da imagem para posicionar as setas */
.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

/* Estilo geral das setas */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4); /* Fundo semi-transparente */
    color: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 4px;
    opacity: 0; /* Invisível por padrão */
}

/* Mostra as setas quando o mouse entra no card */
.property-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    scale: 1.1;
}

/* Lado esquerdo e direito */
.prev { left: 10px; }
.next { right: 10px; }

/* Ajuste da imagem para não distorcer */
.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}