body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #0d1b2a;
    transition: all 0.4s ease;
}

.fondo-inicio {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../Imagenes/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding-top: 70px;
    padding-bottom: 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.divisor {
    position: absolute;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    bottom: -1px;
}

.divisor svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.divisor .color {
    fill: #0d1b2a;
}

.fondo-metodos {
    background-color: #0d1b2a;
    color: #fff;
    min-height: 100vh;
    padding: 80px 0;
}

.navbar {
    background-color: transparent !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar.scroll-nav {
    background-color: #001865 !important;
    transition: background-color 0.3s ease;
}

.navbar span {
    color: white !important;
}

.navbar-nav .nav-link {
    position: relative;
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #f0f0f0;
}

.btn-primary {
    background: linear-gradient(135deg, #1e90ff, #63a4ff);
    border: 2px solid transparent;
    color: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    border: 2px solid #1e90ff;
    color: #1e90ff;
    box-shadow: none;
}

.btn-light {
    background-color: #20364f;
    color: #63a4ff;
    border: 1px solid #1e90ff;
}

.btn-light:hover {
    background-color: #2a4862;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
}

.table {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-collapse: separate;
    margin-top: 15px;
}

.table th {
    background: #e3f2fd;
    color: #01579b;
    text-align: center;
    font-weight: 600;
}

.table td {
    text-align: center;
}

input[type="number"],
input[type="text"] {
    background-color: #ffffff;
    border: 1px solid #90caf9;
    border-radius: 6px;
    padding: 6px 10px;
    width: 100%;
    color: #01579b;
    transition: all 0.3s ease;
}

input[type="number"]:focus,
input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(33, 150, 243, 0.6);
    border-color: #1976d2;
}

.list-group-item {
    background-color: #bbdefb;
    border: none;
    border-radius: 8px;
    margin: 5px 0;
    color: #01579b;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #90caf9;
}

img.rounded-circle {
    border: 3px solid #64b5f6;
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.4);
    transition: transform 0.3s ease;
}

h2,
h3,
h4,
h5 {
    color: #03a9f4;
    margin-top: 20px;
}

pre {
    background-color: #f5f7fa;
    border: 2px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
}

#networkContainer {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.navbar,
.table,
.btn,
.list-group-item,
input,
body {
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.3s ease;
}

.justificar p {
    text-align: justify;
}