.form-commento {
    display: inline-block;
    width: 500px;
    text-align: left;
    margin-top: 5px;
}
.bbcode-bar button {
    font-family: "Georgia";
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding: 2px 6px;
    cursor: pointer;
}
textarea.mex{
    width: 100%;
    font-family: "Georgia";
    font-size: 14px;
    border:1px solid #af757d;
    background-color:#fcf3f6;
    color : #785c58;
    padding: 5px;
    box-sizing: border-box;
    outline: none;
}
input[type="text"],
input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  font-family: Georgia;
  font-size: 14px;
  color : #785c58;
  border: 1px solid #af757d;
  background-color: #fcf3f6;
  padding: 8px;
  margin: 6px 0;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
input[type="text"]:focus,
input[type="url"]:focus {
  background-color: #fcf3f6;
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 8px #af757d, 0 0 15px #af757d;
}

input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:focus,
input[type="url"]:-webkit-autofill,
input[type="url"]:-webkit-autofill:focus {
  -webkit-text-fill-color: #785c58;
  -webkit-box-shadow:
    0 0 0px 1000px #fcf3f6 inset,
    0 0 0 1px #af757d inset;
  box-shadow:
    0 0 0px 1000px #fcf3f6 inset,
    0 0 0 1px #af757d inset;
}
button[type=submit] {
    font-family: "Georgia";
    font-size: 14px;
    background-color: #d899a2;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
button[type=submit]:hover {
    background-color: #af757d;
}
button[type=button] {
    font-family: "Georgia";
    font-size: 14px;
    background-color: #d899a2;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
button[type=button]:hover {
    background-color: #af757d;
}
#box_gif {
    display: none;
    width: 426px;
    border: 1px solid #d899a2;
    background-color: #fcf3f6;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
}
input[type=button] {
    font-family: "Georgia";
    font-size: 14px;
    background-color: #d899a2;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
input[type=button]:hover {
    background-color: #af757d;
}
/* Commenti della pagina */
.commento {
    border: 8px solid #ebd0cb;
    width: 550px;
    text-align: left;   
    padding: 10px 10px 10px 10px;
    margin-left:auto;
    margin-right:auto;
}
.commento-meta {
	border:1px dotted #d6b786;
    font-size: 0.9em;
    color: #726868;
	padding: 5px;
    margin-bottom: 4px;
}
.commento-testo {
    margin: 8px 0;
}
.commento-pagina {
    font-size: 0.85em;
    color: #777;
}
.commento-img {
    width: 25x;
    height: 25px;
    vertical-align: middle;
    margin-right: 5px;
}
.commento-data {
    font-size: 1em;
    color: #999;
    margin-left: 10px;
}
.data {
    font-size: 0.85em;
    color: #999;
    margin-left: 10px;
}
.commento-anteprima {
    border: 5px solid #ebd0cb;
    background-color: #fdefef;
    width: 480px;
    text-align: left;
    padding: 10px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 20px;
}
.commenti-pagina {
    border-bottom: 1px dotted #af757d;
    width: 490px;
    text-align: left;
    padding: 10px 0;
    margin-left:auto;
    margin-right:auto;
}
.errore-commento {
    border: 2px solid #af757d;
    background-color: #ffe6e6;
    color: #a74753;
    padding: 10px;
    margin-bottom: 15px;
    width: 430px;
    margin-left:auto;
    margin-right:auto;
}
.ok-commento {
    border: 2px solid #879b59;
    background-color: #f0f8eaff;
    color: #6b7e3fff;
    padding: 10px;
    margin-bottom: 15px;
    width: 430px;
    margin-left:auto;
    margin-right:auto;
}
.commento-box {
    border-bottom: 1px solid #d899a2;
    text-align: left;
    padding: 10px;
    margin-bottom: 12px;
    width: 410px;
}
.commento-pagina-box {
    font-size: 0.9em;
    color: #777;
    margin-top: 8px;
}
.paginazione {
    display: flex;              
    justify-content: center;    
    align-items: center;        
    flex-wrap: nowrap;          
    white-space: nowrap;        
    margin-top: 20px;
    text-align: center;
}
.paginazione a,
.paginazione strong,
.paginazione .dots {
    margin: 0 4px;
    text-decoration: none;
    display: inline-block;      
}
.paginazione .prev,
.paginazione .next {
    font-weight: normal;
}
.paginazione .dots {
    padding: 0 6px;
    opacity: 0.6;
}
.paginazione a,
.paginazione strong {
    padding: 4px 10px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
/* Hover sui link */
.paginazione a:hover {
    background-color: #d899a2;
    color: #4d131a;
}
/* Pagina corrente */
.paginazione strong {
    background-color: #d899a2;
    color: #4d131a;
    font-weight: bold;
    cursor: default;
}
/* Precedente / Successiva più discreti */
.paginazione .prev,
.paginazione .next {
    opacity: 0.8;
}
.paginazione .prev:hover,
.paginazione .next:hover {
    opacity: 1;
}
/* Puntini */
.paginazione .dots {
    padding: 0 6px;
    opacity: 0.5;
    cursor: default;
}

/* Sposta il badge reCAPTCHA più in alto */
.grecaptcha-badge {
    margin-bottom: 150px;   /* distanza dal fondo della finestra */
    right: 20px;    /* distanza dal bordo destro */
    z-index: 9999;  /* assicurati che sia sempre visibile sopra altri elementi */
}
