.header-panels-account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px; 
    padding: 10px ;
}

.header-section {
    flex: 1;
    text-align: center;
}

.header-section.left {
    text-align: left;
}

.header-section.right {
    text-align: right;
}

.header-section.left h4,
.header-section.right h4 {
    padding: 10px;
}

.bg-blue {
	background-color: #004792;
}
.bg-black {
	background-color: black;
}
.bg-white {
	background-color: white;
}
.t-blue {
	color: #004792 !important;
}
.t-black {
	color: black;
}
.t-white {
	color: white !important;
}
.p-wide {
	width: 100% ;
}
.space-filler {
	width: 90% !important;
	max-width: 90% !important;
}
.hp-wide {
	width: 50% !important;
}
.no-max-width {
	max-width: 100% !important;
}
.no-text-shadow {
	text-shadow: 0px 0px 0px !important;
}
.self-centered {
	align-self: center;
}
.flex-vertical {
	display: flex;
	flex-direction: column;
}
.flex-horizontal {
	display: flex;
	flex-direction: row;
}
.flex-align-center{
	align-items: center;
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-space {
	justify-content: space-evenly;
}
.flex-center {
	justify-content: center;
}
.round-border{
	border-radius: 20px;
}
.border {
	border: solid;
}
.border-s {
	border: 1px;
}
.border-m {
	border: 4px;
}
.border-l {
	border: 8px;
}

.auto-height{
	height: auto !important;
}

.red-bg {
	background-color: #970609 !important;
}

* {
  margin: 0;
  padding: 0;
}

.panel {
	display: flex;
    flex-direction: column;
    align-items: center;
}

body {
  font-family: Arial, sans-serif;
  background-color: white;
  color: #333;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  background-color: #004793;
  color: white;
}

header img {
  height: 40px; /* dimensione logo */
}

header .login-btn {
  background-color: white;
  color: #004793;
  border: 1px solid #004793;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

header .login-btn:hover {
  background-color: #004793;
  color: white;
}

.btn-alt {
  margin-top: 20px;
  background-color: white;
  color: #004793;
  border: 1px solid #004793;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-alt:hover {
  background-color: #004793;
  color: white;
}

/* Sezione immagine principale */
.hero {
  position: relative;
  width: 100%;
  min-height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  /*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);*/
}

/* Pannello offerte di lavoro */
.job-panel {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  gap: 20px;
}

.job-card {
  background-color: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 30%;
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-10px);
}

.job-card h3 {
  color: #004793;
  font-size: 20px;
  margin-bottom: 10px;
}

.job-card p {
  color: #555;
  font-size: 14px;
}

/* Footer */
footer {
  background-color: white;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid #ddd;
  margin-top: auto; 
  max-width: 100%;
}

footer .footer-column {
  flex: 1;
  margin: 0 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

footer .footer-column img {
  height: 100px;
  width: fit-content;
  margin-bottom: 20px;
}

footer .footer-links {
  list-style: none;
  padding: 0;
}

footer .footer-links li {
  margin: 10px 0;
}

footer .footer-links a {
  text-decoration: none;
  color: #004793;
  font-size: 16px;
  transition: text-decoration 0.3s ease;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer .footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .footer-contact i {
  font-size: 20px;
  color: #004793;
}

@media (max-width: 768px) {
  .job-panel {
    flex-direction: column;
    align-items: center;
  }

  .job-card {
    width: 80%;
    margin-bottom: 20px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .footer-column {
    margin: 20px 0;
  }
}
    
.login-container {
	margin-top: 4rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}
.login-box {
	display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
}
.login-box h2 {
  text-align: center;
  color: #004793;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.input-group input {
  width: 90%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.input-group input:focus {
  border-color: #004793;
  outline: none;
}

.password-container {
  position: relative;
}

.password-container input {
  width: 90%;
}

.password-container i {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #004793;
}

/* Stile per le checkbox */
.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-group label {
  font-size: 14px;
}

.checkbox-group a {
  color: #004793;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.standard-button {
  width: 100%;
  padding: 10px;
  background-color: #004793;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.standard-button:hover {
  background-color: #003366;
}

@media (max-width: 480px) {
  .login-box {
    padding: 20px;
    width: 90%;
  }
}

input:invalid {
  border-color: red;
}

input:valid {
  border-color: green;
}

.background-image {
  max-width: 100%;
  min-height: 180px;
}

.cv-button {
	cursor: pointer; 
	width: 100%;
    padding: 10px;
    background-color: #004793;
    color: white !important;
    text-align: center;
    align-self:center;
    border: none;
    border-radius: 5px;
    font-size: 16px !important;
    transition: background-color 0.3s ease;
}

.input-documento-cv {
	display: flex;
    align-content: center;
    width: 70%;
    align-items: center;
    flex-wrap: wrap;
}

.input-documento-cv label{
    border: 2px solid #FFF; 
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.8); 
}

.login-form {
	margin-right: auto;
    margin-left: auto;
    justify-content: center;
    display: flex;
}

.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-title {
	align-self: center;
}

.modal-content {
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	max-width: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	min-width: 30%;
}

.modal-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.modal-header h2 {
	text-align: center;
	font-size: 1.5rem;
	color: #004792;
	margin: 0;
}

.modal-header button {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: #004792;
	cursor: pointer;
	width: 20px;
}

.modal-body {
	margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
}

.modal-body .mb-3 {
	margin-bottom: 15px;
	width: 100%;
}

.modal-body label {
	font-size: 1rem;
	color: #004792;
	/* Colore delle etichette */
	margin-bottom: 5px;
}

textarea {
  resize: none;
}

.small-hr-divisore {
	width:90%; 
	margin:10px;
}

.panel-body{
	width:100%;
}
.modal-body input,
.modal-body textarea {
	width: 90%;
	padding: 8px;
	border: 1px solid #004792;
	border-radius: 4px;
	font-size: 1rem;
	outline: none;
	margin-top: 5px;
	align-self:center;
}

.modal-body input:focus,
.modal-body textarea:focus {
	border-color: #004792;
	box-shadow: 0 0 5px rgba(0, 71, 146, 0.5);
}

.modal-footer {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
}

.modal-footer button {
	background-color: #004792;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	font-size: 1rem;
	margin: 5px;
}

.modal-footer button:hover {
	background-color: #003b75;
}

.modal-footer button:focus {
	outline: none;
}

/* Stile del bottone "Annulla" */
.modal-footer button[type="button"] {
	background-color: transparent;
	color: #004792;
	border: 1px solid #004792;
}

.modal-footer button[type="button"]:hover {
	background-color: #e6f0ff;
}

.delete-btn{
	background-color: transparent;
	color: rgb(255, 0, 0);
	border: 1px solid rgb(255, 0, 0);
}

.delete-btn:hover{
	background-color: transparent;
	color: rgb(187, 0, 4);
	border: 1px solid rgb(187, 0, 4);
}

input[type="file"] {
  display: none; 
}

.file-input-container {
  position: relative;
  display: inline-block;
}

input[type="file"] + label {
  background-color: #003c6f;
  color: white;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  border: none;
}

input[type="file"]:focus + label {
  outline: none;
}

.file-name {
  margin-left: 10px;
  font-size: 14px;
  color: #333;
}

.remove-file {
  color: red;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
  display: none;
}

.account-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    margin: 0 auto;
    width: 95%;
    justify-content: space-between;
}

.account-page-box {
    display: flex;
    background-color: rgba(0, 60, 111, 0.7);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid rgba(0, 60, 111, 0.5);
    margin-bottom: 25px;
    height: auto;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .account-page-box {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .account-page-box {
        flex: 1 1 calc(100% - 20px);
    }
}

.account-page-box h2 {
	height: -webkit-fill-available;
}

.account-page-inner {
  background-color: rgba(255, 255, 255, 0.9); 
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.account-page-content {
  font-size: 16px;
  margin-bottom: 15px;
}

.account-page-field {
  margin-bottom: 15px;
}

.account-page-field-label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #000000;
}

.account-page-field-value {
  font-size: 14px;
  color: #333;
}

.width-adaptable {
  width: 50%;
}

.two-by-one {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
  padding: 20px; 
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkbox-container{
  display: flex;
  gap: 20px;
  justify-content: center;
}

.delete-btn-alt {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4d4d; 
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid #ff4d4d;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.delete-btn-alt:hover {
    background-color: #ff1a1a;
    border-color: #ff1a1a;
}

.delete-btn-alt:active {
    background-color: #e60000;
    border-color: #e60000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.delete-btn-alt::before {
    content: "\1F5D1"; 
    font-size: 16px;
    margin-right: 8px;
}

.header-menu-container {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    flex-direction: row;
    flex-wrap: wrap;
}

.header-menu-item {
    color: white;
    text-transform: uppercase;
    text-decoration: none; 
    font-size: 16px;
    transition: all 0.3s ease; 
    font-weight: 600;
}

.header-menu-item:hover {
    font-size: 18px; 
    border: 2px solid white;
  	border-radius: 5px;
    text-decoration-color: white; 
}

.header-container {
	display: flex;
    max-width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    min-width: 95%;
}

.proposte-page-container {
  max-width: 90%; 
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.proposte-page-h1, .proposte-page-h2 {
  color: #004792;
  text-align: center;
}

.home-filter-form {
	display: flex;
    gap: 45px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    flex-wrap: wrap;
}

.proposte-page-filter-form {
  display: flex;
  flex-wrap: wrap; 
  gap: 15px;
  margin-top: 20px;
}

@media (min-width: 1200px) {
  .proposte-page-filter-form > .proposte-page-filter-group {
      flex: 0 0 18%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .proposte-page-filter-form > .proposte-page-filter-group {
      flex: 0 0 23%; 
  }
}

@media (max-width: 767px) {
  .proposte-page-filter-form > .proposte-page-filter-group {
      flex: 0 0 100%; 
  }
}

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

.proposte-page-label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #004792;
}

.proposte-page-input-text, .proposte-page-input-checkbox {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.proposte-page-input-checkbox {
  width: 20px;
  height: 20px;
}

.proposte-page-submit-btn {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #004792;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  grid-column: span 5;
}

.proposte-page-submit-btn:hover {
  background-color: #003366;
}

.proposte-page-elements-list {
  margin-top: 30px;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 10px;
}

.proposte-page-elements-list h2 {
  margin-bottom: 20px;
}

.selector-container {
  width: 100%;
  margin: 20px auto;
  background-color: rgba(0, 71, 146, 0.2); 
  color: black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
}

/* Griglia dinamica per i pannelli */
.selector-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .selector-panels {
    grid-template-columns: 1fr 1fr; /* 2 colonne per schermi più larghi */
  }
}

@media (min-width: 900px) {
  .selector-panels {
    grid-template-columns: 1fr 1fr 1fr; /* 3 colonne per schermi ancora più larghi */
  }
}

.selector-panel {
  background-color: white;
  color: black;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.selector-panel h3 {
  color: #004792; /* Blu per il titolo del pannello */
  margin: 0;
}

.selector-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-size: 20px;
    color: #1e3d58;
    gap: 50px;

}

.selector-pagination .selector-arrow {
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  border: 1px solid #1e3d58; /* Frecce bianche */
  border-radius: 5px;
  transition: background-color 0.3s;
}

.selector-pagination .selector-arrow:hover {
  background-color: #004792; /* Hover con blu per le frecce */
  color:white;
}

.selector-pagination .selector-page-number {
  font-size: 18px;
  font-weight: bold;
  color: #1e3d58;
}

.proposta-buttons {
	display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.proposta-whole-page {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.proposta-whole-page > div {
    flex: 0 0 45%;
    padding: 20px;
}

@media screen and (max-width: 1000px){
    .proposta-whole-page {
        flex-direction: column;
        align-items: center;
    }

    .proposta-whole-page > div {
        flex: 0 0 90%;
        margin-bottom: 20px;
        width: 95%
    }
   
}

.proposta-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.proposta-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proposta-header {
    background-color: #1e3d58;
    color: #fff;
    padding: 20px;
    text-align: center;
    
}

.proposta-titolo {
    font-size: 30px;
    font-weight: bold;
}

.proposta-body {
    padding: 20px;
}

.proposta-info {
    margin-bottom: 15px;
}

.proposta-info-item {
    display: flex;
    align-items: center; 
    margin-bottom: 10px;
}

.proposta-info-icon {
    width: 20%; 
    display: flex;
    justify-content: center; 
    font-size: 20px;
    color: #1e3d58;
}

.proposta-info-text {
    width: 80%; 
    font-size: 16px;
    color: #555;
}

.text-big {
    font-size: 24px !important;
}

.text-mid {
    font-size: 18px !important;
}

.text-small {
    font-size: 12px !important;
}

.proposta-footer {
    background-color: #f7f7f7;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.proposta-button {
    background-color: #15303b;
    color: white;
    text-decoration: none;  
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s;
    margin: 5px;  
    font-weight: 600;
}

.proposta-button-inverted {
	background-color: white !important;
    color: black !important;
}

.proposta-button-inverted:hover {
	background-color: #15303b !important;
    color: white !important;
}

.proposta-button:hover {
    background-color: white;
    color: black;
}

.proposta-button:focus {
    outline: none;
}
.lingua-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.lingua-item {
    background-color: #1e3d58;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
}

.descrizione-item {
    background-color: #f4f6f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.utente-candidati-container {
    width: 90%;  
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.utente-candidato {
    width: calc(33.33% - 20px); 
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.utente-candidato .utente-nome {
    font-size: 18px;
    font-weight: bold;
}

.utente-candidato .utente-info {
    font-size: 14px;
    color: #777;
}

.utente-candidato .utente-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.utente-candidato .utente-buttons a {
    background-color: #1e3d58;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.utente-candidato .utente-buttons a:hover {
    background-color: #15303b;
}

@media (max-width: 768px) {
    .utente-candidato {
        width: calc(50% - 20px);  
    }
}

@media (max-width: 480px) {
    .utente-candidato {
        width: 100%;  
    }
}
  
.utente-buttons {
   width: 100%;
   display: flex;
   flex-direction: row;
   justify-content: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    flex-direction: row;
    display: flex !important;
}

.social-button {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    color: white;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
}

.social-button:hover {
    background-color: #ddd;
}

.social-instagram {
    background: linear-gradient(45deg, #f9a8d4, #f5b3d1, #d56af7) !important;
    transition: background-color 0.3s ease;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #d68cb2, #d19bb1, #b34ce1) !important;
}

.social-x {
    background-color: #000000 !important;
    color: white !important;
    transition: background-color 0.3s ease;
}

.social-x:hover {
    background-color: #333333 !important;
}

.social-facebook {
    background-color: #1877F2 !important;
    transition: background-color 0.3s ease;
}

.social-facebook:hover {
    background-color: #1568c1 !important;
}

.social-whatsapp {
    background-color: #25D366 !important;
    transition: background-color 0.3s ease;
}

.social-whatsapp:hover {
    background-color: #1d9c52 !important;
}

.social-linkedin {
    background-color: #0A66C2 !important;
    transition: background-color 0.3s ease;
}

.social-linkedin:hover {
    background-color: #084a8d !important;
}

.account-page-header {
  background-color: rgba(0, 60, 111, 0.7); 
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid rgba(0, 60, 111, 0.5); 
  margin-bottom: 25px; 
}

.account-page-header-buttons {
	display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
}

.simple-btn-title {
    border: 2px solid #004793;
    border-radius: 10px;
    transition: border-color 0.3s ease;
    padding: 40px;
    cursor: pointer;
}

.simple-btn-title:hover {
    border-color: white;
}

.max-fit-content {
	max-width: fit-content;
}

.input-group-login {
  margin-bottom: 20px;
}

.input-group-login label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #004793;
  margin-bottom: 5px;
}

.input-group-login input {
  width: 90%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.input-group-login input:focus {
  border-color: #004793;
  outline: none;
}

.checkbox-container input[type="checkbox"] {
    transform: scale(1.5);
}
.bottoni-proposte-utente a {
	height: 30px;
	margin: 5px;	
}

.login-check {
	display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.cflc-panel {
    width: 90%;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: center;
    margin: 40px;
}

.cflc-title-wrapper {
	width: 100%;
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.cflc-title-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c0c0c0;
    z-index: 1;
}

.cflc-title {
    position: relative;
    font-size: 30px;
    font-weight: bold;
    background-color: white;
    display: inline-block;
    padding: 0 10px;
    z-index: 2;
}

.cflc-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    gap: 20px;
    margin: 60px;
}

.cflc-item {
    flex: 1 1 calc(20% - 20px); 
    text-align: center;
    max-width: 20%;
    box-sizing: border-box;
    text-decoration: none;
    transform: scale(1);
  	transition: transform 0.5s ease;
    
}

.cflc-item img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

.cflc-item:hover {
	transform: scale(1.15);
    transition: transform 0.5s ease;
}

.cflc-item-title {
    font-size: 26px;
    margin-top: 10px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    color: #004792;
}

@media (max-width: 1000px) {
	.cflc-item-title {
    	font-size: 14px;
    }
}

@media (max-width: 600px) {
	.cflc-item-title {
    	font-size: 8px;
    }
}

@media (max-width: 768px) {
    .cflc-item {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 480px) {
    .cflc-item {
        flex: 1 1 calc(50% - 20px);
    }
}

.titolo-vuoto {
  background-color: #004792;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 10px;
  font-size: 24px;
      border-radius: 5px;
}

.modale-avviso {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Background nero semitrasparente */
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .modale-avviso .contenitore {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            width: 300px;
        }
        .modale-avviso h1 {
            margin: 0 0 20px;
            font-size: 24px;
        }
        .modale-avviso p {
            margin: 0 0 20px;
            font-size: 16px;
        }
        .modale-avviso button {
            padding: 10px 20px;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .modale-avviso button:hover {
            background-color: #0056b3;
        }

        body { font-family: Arial, sans-serif; }
        .popup-messaggi {
            display: none;
            position: fixed;
            max-width: 50%;
            top: 2%;
            left: 25%;
            width: 100%;
            background-color: #4CAF50;
            color: white;
            text-align: center;
            padding: 15px;
            z-index: 1000;
        }
        .bottom-panel-messaggi { margin-top: 30px; padding: 15px; border: 1px solid #ccc; border-radius: 5px; }
        .input-messaggi { width: 100%; padding: 8px; margin: 5px 0 15px; box-sizing: border-box; }
        .popup-messaggi.show { display: block; }
        .main-section-messaggi { display: flex; gap: 20px; margin-top: 20px; align-self: anchor-center; width: 100%; }
        .left-panel-messaggi, .right-panel-messaggi {
            flex: 1;
            max-height: 1000px;
            overflow-y: auto;
            border: 1px solid #ccc;
            padding: 15px;
            border-radius: 5px;
        }
        .left-panel-messaggi { display: grid; gap: 15px; }
        .message-card {
            display: flex;
            flex-direction: column;
            border: 1px solid #aaa;
            padding: 10px;
            margin-bottom: 10px;
            border-radius: 5px;
            background-color: #f9f9f9;
            max-width: 100%;
        }
        .message-card-header, .message-card-footer { margin: 0; }
        .message-card-body {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-height: 120px;
            max-width: 100%;
            margin-bottom: 10px;
        }
        .message-card-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
        }
        .btn-param {
        	width:100px;
        	max-height: 50px;
            padding: 8px 15px;
            background-color: #970609 !important;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 3px;
            font-size: 12px;
            font-weight: 500;
            align-content: center;
        }
        
        .btn-param:hover { background-color: #0056b3; }
        .label-messaggi { font-weight: bold; }

        .email-item {
            display: none;
            margin-bottom: 5px;
        }
        .email-item.visible {
            display: block;
        }