| html, body {
    height: 100%;
}
body {
    background-color: #f3f3f4;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.config-header {
    background-color: #2f4050;
    color: white;
    padding: 20px 0;
}
.config-title {
    margin: 0;
    font-size: 24px;
}
.config-subtitle {
    opacity: 0.8;
    margin-top: 5px;
    margin-bottom: 0;
}
.config-container {
    flex: 1 0 auto; /* This will push the footer down */
    margin-top: 5px;
}
.section-head {
    margin-top: 10px;
}
.env-badge {
    font-size: 14px;
    vertical-align: middle;
    margin-left: 10px;
}
.back-link {
    color: #fff;
    opacity: 0.8;
    margin-right: 15px;
    transition: opacity 0.2s;
}
.back-link:hover {
    color: #fff;
    opacity: 1;
    text-decoration: none;
}
.footer {
    background-color: transparent;
    border-top: 1px solid #e7eaec;
    width: 100%;
    position: relative;
    bottom: 0;
    height: 60px; /* Fixed height */
    flex-shrink: 0; /* Prevent footer from shrinking */
    display: flex;
    align-items: center;
}
/* Estilos para index.php */
.env-selector {
    margin-bottom: 1rem;
}
.config-card {
    transition: all 0.3s ease;
    cursor: pointer;
    color: inherit;
    height: 100%;
}
.config-card:hover,
.config-card:focus {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: inherit;
}
.config-card:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.card-icon i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
}
/* Estilos para app.php */
.app-section {
    margin-bottom: 30px;
    border: 1px solid #e7eaec;
    border-radius: 5px;
    padding: 20px;
    background-color: #fff;
}
.app-section-title {
    border-bottom: 1px solid #e7eaec;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
.language-tag {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #f3f3f4;
    border: 1px solid #e7eaec;
    border-radius: 3px;
}
.add-language-btn {
    margin-top: 10px;
}
/* Estilos para db.php */
/*
.db-connection {
    border: 1px solid #e7eaec;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    position: relative;
}*/
.db-connection-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7eaec;
}
.db-connection-actions {
    position: absolute;
    top: 20px;
    right: 20px;
}
.add-connection-container {
    margin-top: 30px;
}
/* Estilos para ftp.php */
/*
.ftp-connection {
    border: 1px solid #e7eaec;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    position: relative;
}
*/
.ftp-connection-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7eaec;
}
.ftp-connection-actions {
    position: absolute;
    top: 20px;
    right: 20px;
}
.add-ftp-container {
    margin-top: 30px;
}
/* Estilos para mail.php */
/*
.mail-connection {
    border: 1px solid #e7eaec;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    position: relative;
}
 */
.mail-connection-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7eaec;
}
.mail-connection-actions {
    position: absolute;
    top: 20px;
    right: 20px;
}
.add-mail-container {
    margin-top: 30px;
}
.mail-options-section {
    border-top: 1px solid #e7eaec;
    margin-top: 15px;
    padding-top: 15px;
}
/* Estilos para session.php */
.session-section {
    border: 1px solid #e7eaec;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
}
.session-section-title {
    border-bottom: 1px solid #e7eaec;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
.service-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.service-check {
    flex: 0 0 auto;
    width: calc(25% - 10px);
    margin-bottom: 10px;
}
/* Estilos para tools.php */
.tool-section {
    margin-bottom: 30px;
}
.tool-card {
    background-color: #fff;
    border: 1px solid #e7eaec;
    border-radius: 5px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
}
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.tool-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1ab394;
}
.tool-status {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e7eaec;
}
.tool-actions {
    margin-top: 15px;
}
.service-item {
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}
.service-item:hover {
    background-color: #e9ecef;
}
.language-tag {
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
}
/* Ensure all service items have the same height */
.service-item {
    min-height: 90px;
}
/* Mejora la alineación de los checkboxes */
.form-check {
    display: flex;
    align-items: center;
}
.form-check-input {
    margin-top: 0 !important; /* Sobrescribe el estilo predeterminado de Bootstrap */
    margin-right: 0.5rem;
}
/* Alinea la etiqueta con el checkbox */
.form-check-label {
    margin-bottom: 0;
    line-height: 1;
}
/* Asegura que la insignia esté alineada correctamente */
.dkim-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.dkim-header-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
}
.dkim-header-status .badge {
    margin-bottom: 2px;
}
 |