* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif !important;
    background-color: #e0e0e0;
    min-height: 100vh;
    /* overflow-x: hidden; */
    border-top: solid 5px #29a9e5;
    position: relative;
}

 /* Estilos gerais */
body {
	margin: 0;
	font-family: Arial, sans-serif;
}

/* Header Desktop */
.desktop-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 9px;
}

.mobile-header {
	display: none;
	flex-direction: column;
	align-items: center;
	padding: 10px;
	color: white;
	background: #29a9e5;
}

.mobile-header .mobile-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.mobile-header .menu-icon {
	font-size: 24px;
	cursor: pointer;
	color: white;
}

.mobile-header .mobile-title {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	flex-grow: 1;
}

.mobile-header .mobile-search {
	margin-top: 10px;
	padding: 8px;
	border-radius: 5px;
	border: 1px solid #ccc;
	width: calc(100% - 20px);
}

.mobile-menu {
	position: fixed;
	top: 0;
	left: -50%;
	width: 50%;
	height: 100vh;
	background: #333;
	color: white;
	z-index: 1000;
	padding: 20px 10px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* Ajusta os itens para começarem do topo */
	align-items: flex-start; /* Alinha os itens à esquerda */
	gap: 15px; /* Espaçamento entre os itens */
	transition: left 0.3s ease-in-out;
}

.mobile-menu.show {
	left: 0;
}

.mobile-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

.mobile-menu li {
	width: 100%; /* Garante que os itens ocupem toda a largura do menu */
}

.mobile-menu li a {
	display: block; /* Torna o link um bloco para facilitar o clique */
	color: white;
	font-size: 18px;
	text-decoration: none;
	padding: 10px 5px;
	border-bottom: 1px solid #555; /* Adiciona uma linha para separação */
	text-align: left; /* Garante o alinhamento à esquerda */
}

.mobile-menu li a:hover {
	color: #29a9e5; /* Cor de destaque ao passar o mouse */
}

.mobile-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.mobile-overlay.show {
	display: block;
}

@media (max-width: 1100px) {
	.desktop-header {
		display: none;
	}

	.mobile-header {
		display: flex;
		width: 100%;
	}
	.mobile-header a {
		color: #fff !important;
		text-decoration: none;
		font-weight: 600;
		padding: 5px;
		text-align: center;
	}
}
.logo {
	display: flex;
	position: absolute;
	margin-top: 68px;
	transition: transform 2.1s ease-in-out;
}
.logo img:hover {
	transform: scale(1.1);
	transition: transform 0.2s ease-in-out;
}


/* Container principal */
.container {
    width: 90%;
    max-width: 1200px; /* Largura mÃƒÂ¡xima do conteÃƒÂºdo */
    margin: 0 auto;
}


.container a {
    color: #fff !important;
    text-decoration:none;
    font-weight: 600;
    padding: 5px;
    text-align: center;
}


/* Header */
header {
     /* Faixa verde */
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     border-radius: 0px;
     margin-top: 0px;
}

header h1 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

header input[type="text"] {
    width: 600px;
    height: 35px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #ced4da;
    padding: .375rem .75rem;
    font-size: 18px;
}

header .cliente-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    gap: 8px;
}

header .cliente-link i {
    font-size: 20px;
}

/* Top bar */
header .top-bar {
    background-color: #29a9e5;
    padding: 10px 0;
    width: 100%;
    border-radius: 10px;
}

header .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    color: white;
    font-size: 24px;
    font-weight: bold;
}


header .cliente-link {
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 1100px) {

    nav .menu-container {
        display: none;
    }
}
/* Menu */
nav .menu-container {
    background-color: #000000;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    box-sizing: border-box;
    padding: 10px; /* Adicionado para espaçamento interno */
}

nav .menu-container .container {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap; /* Permite quebra de linha */
    gap: 15px; /* Espaçamento entre os itens */
    width: 760px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Permite que os itens do menu quebrem linha */
    justify-content: center; /* Centraliza os itens */
    padding: 0;
    margin: 0;
    gap: 15px; /* Espaçamento horizontal e vertical */
}

nav ul li {
    flex: 1 1 calc(10% - 15px); /* Garante no máximo 10 itens por linha */
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap; /* Impede a quebra de linha */
}

nav ul li a {
    display: inline-block; /* Garantir que o link se comporte como bloco */
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    border-radius: 8px;
    background-color: transparent;
    font-size: 16px; /* Ajuste o tamanho conforme necessário */
}

nav ul li a:hover {
    background-color: #29a9e5; /* Cor de fundo ao passar o mouse */
}


/* Produtos */
.produtos {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 produtos por linha */
    gap: 20px;
    margin: 20px 0;
}

.produto {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.produto:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.produto img {
    width: calc(100% - 20px);
    height: auto;
    margin-top: 10px;
    transition: transform .3s ease-in-out;
    border-radius: 8px;
    z-index: 0;
}

.produto img:hover {
    transform: scale(1.1);
    
}
.produto h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.produto p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #000000;
    font-size: 24px !important;
    font: 600 26px Arial, Helvetica, sans-serif;
}

.product-price {
    margin-top: 5px;
    color: #000;
    font-size: 30px;
    font-weight: bold;
    font: 600 26px Arial, Helvetica, sans-serif
}
.product-rating i.fa-star {
    color: #f1c40f;
    font-size: 22px;
    padding-bottom: 10px;
}
.produto .btn {
    display: inline-block;
    background: #29a9e5;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    border: 1px solid #7fbbd8;
}

.produto .btn:hover {
    background: #000000;
}

.product-title {
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #000;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-subtitulo{
    font-size: 1.5em !important;
    font-weight: 400;
    font-style: italic;
    text-align: center;
}

.product-content {
    padding-left: 10px;
    padding-right: 10px;
    z-index: 100;
    margin-top: 10px;
}
.produto-container {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.product-rating {
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.product-rating i {
    color: #f1c40f;
}

.produto-detalhe {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.produto-imagem img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width:500px;
}

.produto-info {
    background-color: #fff;
    cursor: default;
    box-shadow: inset 0 0 10px #f0f0f0;
    border-radius: 8px;
    flex: 1;
    padding: 25px;
}

.product-price {
    font-size: 28px;
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-price span {
    font-size: 16px;
    color: #555;
    font-weight: normal;
}

.produto-info ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.produto-info ul li {
    font-size: 16px;
    color: #008000;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.produto-info ul li:before {
    content: '✔';
    color: #27ae60;
    margin-right: 10px;
}

.btn {
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 2.0em;
    text-decoration: none;
    background-color: green;
    color: #fff;
    border-radius: 5px;
    border: 1px solid #8cddff;
}

.btn:hover {
    background: #1e8449;
}

.warning {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 10px;
}

.product-description {
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-description h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.product-description p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.product-tags {
    margin-top: 20px;
}

.product-tags h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ffffff;
    border: solid 1px #29a9e5;
    color: #000000;
    text-decoration: none;
    margin: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.tags a:hover {
    background-color: #29a9e5;
    color: #fff;
}


.tags span {
    background-color: #29a9e5;
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    cursor: default;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    /* Ajusta o layout da página do produto */
    .produto-detalhe {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .produto-detalhe h1 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .produto-detalhe img {
        max-width: 90%;
        height: auto;
        margin-bottom: 15px;
    }

    .produto-detalhe .product-content {
        width: 100%;
        text-align: center;
    }

    .produto-detalhe .product-price {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .produto-detalhe .btn {
    padding: 30px 60px;
    margin-top: 20px;
    font-size: 4.5em;
    text-decoration: none;
    background-color: green;
    color: #fff;
    border-radius: 5px;
}

    .produto-detalhe .alert {
        font-size: 0.9rem;
        margin-top: 10px;
        color: red;
    }

    /* Ajusta o layout das TAGS */
    .tags {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }

    .tags span {
        font-size: 0.9rem;
        padding: 5px 10px;
        margin: 5px;
        background-color: #29a9e5;
        color: white;
        border-radius: 5px;
    }
	
	.warning {
	    font-size: 11px;
	    color: #e74c3c;
	    margin-top: 10px;
		text-align: center;
	}
	
	.btn-admin {
        background-color: #d06ded;
        color: white;
        padding: 10px 10px !important;
        border-radius: 5px;
        text-decoration: none;
        margin-left: 0px !important;
        margin-top: 11px;
        text-align: center;
    }
}

/* Responsividade para telas ainda menores */
@media (max-width: 480px) {
    .produto-detalhe h1 {
        font-size: 1.2rem;
    }

    .produto-detalhe img {
        max-width: 100%;
    }

	.produto-detalhe .btn {
        padding: 15px 33px;
        margin-top: 20px;
        font-size: 14px;
        text-decoration: none;
        background-color: green;
        color: #fff;
        border-radius: 5px;
        font-weight: 600;
        width: 100%;
    }
}

/* Footer */
footer {
    background: #000000;
    color: #fff;
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
    border-top: solid 5px #29a9e5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}
@media (max-width: 768px) {
.footer-container div {
    flex: 1;
    min-width: 200px;
	text-align: center !important;
}
}
.footer-container div {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-container h3 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.footer-container p,
.footer-container ul {
    font-size: 14px;
    margin: 0;
}

.footer-container ul {
    list-style: none;
    padding: 0;
}

.footer-container ul li {
    margin-bottom: 5px;
}

.footer-container ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-container ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #fff;
    margin-top: 20px;
    padding-top: 10px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .produtos {
        grid-template-columns: repeat(3, 1fr); /* 3 produtos por linha */
    }
}

@media (max-width: 768px) {
    .produtos {
        grid-template-columns: repeat(2, 1fr); /* 2 produtos por linha */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .produtos {
        grid-template-columns: 1fr; /* 1 produto por linha */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }
}
/* Estilos para a página de login */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto; /* Centraliza vertical e horizontalmente */
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.login-container label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.login-container input:focus {
    outline: none;
    border-color: #007bff;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: #0056b3;
}

.login-links {
    margin-top: 15px;
    text-align: center;
}

.login-links p {
    margin: 5px 0;
}

.login-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.login-links a:hover {
    text-decoration: underline;
}
.not-logged-in {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 5px;
    max-width: 400px;
}

.not-logged-in .btn-login {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}

.not-logged-in .btn-login:hover {
    background-color: #0056b3;
}
.cliente-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-logout {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-logout:hover {
    background-color: #c82333;
}
/* Estilização da área do cliente */
.area-cliente {
    max-width: 800px;
    margin: 40px auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Header da área do cliente */
.cliente-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cliente-header h1 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.btn-logout {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-logout:hover {
    background-color: #c82333;
}

/* Lista de produtos */
.produto-cliente {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.produto-cliente h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.produto-cliente p {
    font-size: 16px;
    color: #555;
    margin: 0;
    font-weight: bold;
}

/* Mensagem para usuários não logados */
.not-logged-in {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.not-logged-in h1 {
    font-size: 22px;
    color: #dc3545;
    margin-bottom: 15px;
}

.not-logged-in p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.not-logged-in .btn-login {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.not-logged-in .btn-login:hover {
    background-color: #0056b3;
}

/* Mensagem quando não há produtos */
.area-cliente p {
    text-align: center;
    font-size: 16px;
    color: #777;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .area-cliente {
        padding: 15px;
    }

    .cliente-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-logout {
        margin-top: 10px;
    }

    .produto-cliente {
        flex-direction: column;
        align-items: flex-start;
    }

    .produto-cliente h3,
    .produto-cliente p {
        margin-bottom: 10px;
    }
}
/* Container principal */
.admin-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Títulos */
.admin-container h1,
.admin-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Formulário */
.admin-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-form input,
.admin-form textarea,
.admin-form button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}



/* Tabela de produtos */
.admin-list table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-list th,
.admin-list td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

.admin-list th {
    background-color: #007bff;
    color: #fff;
}

.admin-list td {
    background-color: #f9f9f9;
}

/* Botões de ação */
.btn-excluir {
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
}

.btn-editar {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.btn-excluir:hover {
    color: #c82333;
}

.btn-editar:hover {
    color: #0056b3;
}
.btn-admin {
    background-color: #d06ded;
    color: white;
    padding: 6px 6px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 15px;
    text-align: center;
}

.btn-admin:hover {
    background-color: #0056b3;
    color: white;
}


.mensagem-feedback {
    text-align: center;
    background: #e8f1f8;
    padding: 10px;
    color: green;
    font-weight: 600;
    border-radius: 10px;
}


.sucesso {
    color: green;
    text-align: center;
    background: aquamarine;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    position: fixed;
}

.erro {
    color: #6f2a2a;
    text-align: center;
    background: #ffd4d8;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
}
/* Estilo do popup */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / 90%);
}

.popup-conteudo {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

.fechar-popup {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.fechar-popup:hover {
    color: #ccc;
}
.texto_separador {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #1500d2;
}
.product-price {
    margin-top: 5px;
    color: #000;
    font-size: 40px;
    font-weight: bold;
    font: 600 40px Arial, Helvetica, sans-serif;
}

#whatsapp-icon {
  position: fixed;
  bottom: 20px;  /* Distância da parte inferior */
  right: 20px;   /* Distância da direita */
  z-index: 1000; /* Garante que o ícone fique sobre outros elementos */
}
.admin-container {
    padding: 20px;
}

.admin-form, .admin-list {
    margin-bottom: 20px;
}

.admin-form form {
    display: flex;
    flex-direction: column;
}

.admin-form label {
    margin-top: 10px;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form textarea,
.admin-form input[type="file"] {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.admin-form button {
    margin-top: 20px;
    padding: 10px;
    background: #4CAF50;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}

.admin-form button:hover {
    background: #0c9355;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 600px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

table th {
    background: #f2f2f2;
    font-weight: bold;
}

.btn-excluir, .btn-editar {
    display: inline-block;
    margin: 5px 0;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}
.btn-excluir {
    background: #e74c3c;
}
.btn-excluir:hover {
    background: #c0392b;
}
.btn-editar {
    background: #3498db;
}
.btn-editar:hover {
    background: #2980b9;
}

/* Apenas para os campos na tabela */
.table-field.input-like-field {
    display: inline-block;
    max-width: 150px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tags interativas (como antes) */
.tag-input-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
    background: #fff;
    cursor: text;
    position: relative;
}

.tag-input-container:focus-within {
    border-color: #999;
}

#tag-list {
    display: flex;
    flex-wrap: wrap;
    margin-right: 5px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    background: #e0e0e0;
    border-radius: 3px;
    padding: 5px 8px;
    margin: 2px;
    font-size: 14px;
}

.tag-chip span {
    margin-right: 5px;
}

.tag-chip button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    padding: 0 4px;
    color: #555;
}

#tag-input {
    border: none;
    flex: 1;
    min-width: 100px;
    outline: none;
    font-size: 14px;
}

/* Categorias sugestão */
.category-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

#categoria-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    margin-top: 2px;
    list-style: none;
    padding: 0;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 999;
    width: 200px;
}
#categoria-suggestions li {
    padding: 5px;
    cursor: pointer;
    background: #ffd7007a;
}
#categoria-suggestions li:hover {
    background: #eee;
}

.suggestions-list {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    margin-top: 2px;
    width: 200px;
    list-style: none;
    padding: 0;
    border-radius: 4px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 999;
}

.suggestions-list li {
    padding: 5px;
    cursor: pointer;
    background: #ffd7007a;
}

.suggestions-list li:hover {
    background: #eee;
}

@media (max-width: 600px) {
    .admin-form label,
    .admin-form input,
    .admin-form textarea,
    .admin-form button {
        font-size: 14px;
    }

    table th, table td {
        padding: 8px;
        font-size: 14px;
    }

    .tag-input-container, #tag-input {
        font-size: 14px;
    }
}