body,html{
    height: 100%;
    width: 100%;
    background-color: #ccc;
}


  .seccion-formulario {
    border: 1px solid #dee2e6; /* Borde gris claro */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa; /* Fondo gris claro */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Sombra sutil */
  }
  .seccion-formulario h6, .seccion-formulario h1 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    margin-bottom: 15px;
  }
  .seccion-formulario label {font-size: 7.5pt; font-weight: bold;}
  .ocultar {
    display: none;
  }


.clickeable{cursor: pointer;}

.login{
  height: 100vh;
  display: flex;
  background-color: #f5f5f5;
}

.sky-background {
  flex: 1;
  background-color: #4a90e2;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to bottom, #2a77d0, #6ab3f7);
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
  z-index: 1;
  transform: skewX(-10deg);
  margin-left: -10%;
  width: 55%;
}

.clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 100%;
  background-image: url('../img/bg-login.jpg');
  background-size: cover;
  transform: skewX(5deg);
}

.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  z-index: 0;
}

.login-logo {
  margin-bottom: 2rem;
  /*max-width: 250px;*/
  height: 150px;
}

.login-form {
  width: 100%;
  max-width: 420px;
}

.login-header {
  margin-bottom: 2rem;
  text-align: center;
}

.login-header h1 {
  font-size: 1.8rem;
  color: #333;
  border-bottom: 2px solid #0d2f78;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.login-form-group {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.login-form-group label {
  min-width: 110px;
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
  margin-right: 10px;
}

.login-form-group input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 0.875rem;
  background-color: #0d2f78;
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
}

/*Contenido Principal */
.sidebar {
    width: 250px;
    background-color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.main-wrapper {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.main-content {
    width: 100%;
    /*background-color: #d9d9d9;*/
}

.logo {
    margin-bottom: 40px;
}

.logo img {
    width: 120px;
}

.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    font-size: 14px;
}

.user-info .name {
    font-weight: 600;
    color: #333;
}

.user-info .email {
    color: #777;
    font-size: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
}

.menu-item i {
    margin-right: 10px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.menu-item.active {
    color: #4285f4;
    font-weight: 500;
}

.header {
    background-color: #141836;
    color: white;
    padding: 15px;
}

.content {
    padding: 20px;
}

.station-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.station-name {
    font-size: 20px;
    font-weight: 600;
}

.station-info {
    background-color: #1057db;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.weather-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.weather-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    min-width: 120px;
    flex: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.weather-value {
    padding: 15px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

.weather-label {
    background-color: #141836;
    color: white;
    padding: 10px;
    text-align: center;
}

.charts-container {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.chart-box {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    flex: 1;
    min-height: 350px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    min-width: 300px;
}

.chart-title {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.chart-content {
    height: 200px;
    position: relative;
}

.chart-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-container {
    height: 100%;
    background-color: #e8f5e9;
    border-radius: 5px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-section {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.section-title {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.table-dashboard table {
    width: 100%;
    border-collapse: collapse;
}

.table-dashboard th, td {
    /*padding: 12px 15px;*/
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table-dashboard th {
    font-weight: 500;
    color: #333;
}

.table-dashboard tr:last-child td {
    border-bottom: none;
}

.status {
    color: #4caf50;
}

.logout {
    margin-top: auto;
    padding-top: 20px;
}

.logout-btn {
    display: flex;
    align-items: center;
    color: #666;
    text-decoration: none;
}

.logout-btn i {
    margin-right: 10px;
}

/* Weather icon and temp styling */
.temp-with-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.temp-with-icon i {
    font-size: 30px;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
        padding: 15px 5px;
    }
    
    .sidebar .logo {
        display: flex;
        justify-content: center;
    }
    
    .sidebar .logo img {
        width: 40px;
    }
    
    .user-info, .menu-item span, .logout-btn span {
        display: none;
    }
    
    .user-avatar {
        margin-right: 0;
    }
    
    .main-wrapper {
        margin-left: 60px;
        width: calc(100% - 60px);
    }
    
    .station-header {
        flex-direction: column;
        align-items: flex-start;
    }
}



/*Planillas*/
.container {
            padding: 20px;
            background-color: #ffffff;
            border-radius: 8px;
        }


.form-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }
        .form-group {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .form-label {
            font-weight: bold;
            font-size: 18px;
        }
        .form-control {
            /*padding: 10px 15px;*/
            border: 1px solid #ccc;
            border-radius: 4px;
            /*min-width: 200px;*/
        }
        /*.btn{
            color: white;
        }
        .btn {
            background-color: #0d6efd;
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
        }*/


        hr {
            margin: 20px 0;
            border: 0;
            border-top: 1px solid #000;
        }



        .info-table table{
            table-layout:fixed;
            font-weight: bold;
            width:300px;
        }
        .info-table td{
            border: none;
        }


        .resultado_planilla table {
            font-weight: bold;
            border-collapse: collapse;
            font-size: 12px;
            table-layout: fixed; 
            width: 1500px;
        }
        .resultado_planilla th, .resultado_planilla td {
            border: 1px solid #000;
            text-align: center;
        }
        .resultado_planilla th {
            background-color: #add8e6;
        }

        .header-negro{
            background-color: black;
            color: white;
        }


        #tabla_observaciones_body  tr:hover {
          background-color: #f2f2f2; /* Color de fondo al pasar el cursor */
        }

        .resultado_planilla input, .resultado_planilla select{
            width: 100%;
            background-color: #dee2e6;
            font-size: 9pt;
            font-weight: bold;
            text-align: center;
        }




        .split-cell {
            padding: 0;
        }
        .split-top, .split-bottom {
            padding: 1px;

            height: 25px;
        }
        .split-top {
            border-bottom: 1px solid #000;
        }
        .blue-text {
            color: #0000ff;
        }
        .action-btn {
            background-color: #ffeb3b;
            border: none;
            border-radius: 4px;
            width: 26px;
            height: 26px;
            cursor: pointer;
            font-size: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 2px;
        }
        .delete-btn {
            background-color: #ff5252;
            color: white;
        }
        .action-cell {
            display: flex;
            justify-content: center;
            gap: 5px;
        }
        .sub-header {
            font-size: 10px;
        }