body, html {
    padding-top: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    height: 100%;
}

.content-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.login-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.reset-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.reset-card {
    max-width: 500px;
    width: 100%;
}

.register-form {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.register-card {
    max-width: 500px;
    width: 100%;
}

p, .table th, .table td, .modal-body {
    color: #ecf0f1;
}

small {
	display: inline-block;
	padding-top: 15px;
	padding-bottom: 20px;
}

.modal-body .form-group {
    margin-bottom: 1rem;
    position: relative;
}
.modal-body .form-group::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3); /* Linea decorativa */
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: none;
    background: #34495e;
    color: #ecf0f1;
}

.card-header {
    background-color: #007bff;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.table {
    border-collapse: collapse;
}

.table th, .table td {
    vertical-align: middle;
    padding: 1rem;
    border: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(107, 159, 255, 0.1);
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(44, 62, 80, 0.3);
}

.form-inline label {
    margin-right: 10px;
    font-weight: bold;
    color: #ecf0f1;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: scale(1.05);
}

/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card, .modal-body {
    animation: fadeIn 0.5s ease-in-out;
}

/* Stile per i modali */
.modal-content {
    background: #34495e;
    color: #ecf0f1;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.modal-header {
    background-color: #007bff;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ottimizzazione su mobile */
@media (max-width: 768px) {
    body, html {
        padding-top: 10px;
        font-size: 0.9rem;
    }

    .table th, .table td {
        padding: 0.5rem;
    }
}
