html {
    height: 100%;
    background: radial-gradient(#fff 3px, transparent 5px, #fff 7px, transparent 9px, #fff 11px, transparent 13px, #fff 15px, transparent 17px, #fff 19px, #fff 21px, transparent 23px, #fff 25px, transparent 27px, #fff 29px, transparent 29px, #fff 31px, transparent 33px);
    background-color: #111;
    color: white;
    background-size: 30px 30px;
}

body {
    /* fallback */
    background-color: rgb(9, 35, 55);
    color: #333;
    /* fallback */
    color: rgba(0, 0, 0, 0.6);
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

/* Home page */
.page-header {
    display: block;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    border-bottom: none;
}

/* .jumbotron */
.jumbotron.page-header {
    position: relative;
    background-color: transparent;
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: 500px;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.jumbotron.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.jumbotron.page-header .container {
    position: relative;
    z-index: 2;
    margin-left: 200px;
}

@media (max-width: 768px) {
    .jumbotron.page-header .container {
        margin-left: 0;
    }
}

.jumbotron.page-header h1 {
    font-size: 48px;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.jumbotron.page-header .hero-description {
    font-size: 20px;
    line-height: 1.5;
    color: white;
    max-width: 600px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .jumbotron.page-header {
        min-height: 400px;
    }

    .jumbotron.page-header h1 {
        font-size: 36px;
    }
    
    .jumbotron.page-header .hero-description {
        font-size: 18px;
    }
}

section h6 {
    color: white;
}

h2 i {
    padding-right: 0.3em;
}

/* sectioning elements */
section,
.section,
.full {
    background-color: #ededed;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.8);
}

article {
    padding-bottom: 1em;
}

article.panel {
    padding-bottom: 0;
}

/* footer */
footer {
    padding-bottom: 2em;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: normal;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

footer .list-inline>li {
    padding-left: 0;
    padding-right: 0;
    display: block;
    float: left;
}

footer .powered-by {
    text-indent: -119988px;
    overflow: hidden;
    background-image: url('/images/powered-by-3scale-light.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    width: 109px;
    height: 19px;
    display: block;
    text-decoration: none;
    line-height: 19px;
    margin-top: -3px
}

footer .container {
    background-color: transparent;
    /* fallback */
    background-color: #092337;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

/* containers */
.page-header .container {
    padding-top: 2em;
    padding-bottom: 2em;
}

#main-content>.full>.container {
    min-height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

.invert .container {
    background-color: #5B5B5B;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.05);
}

.page-header+section .container,
header .container {
    background-color: transparent;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.05);
}

header .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* buttons */
.btn {
    font-style: normal;
}

.panel-body .button a,
.button a,
.panel-body a.btn,
a.btn {
    text-decoration: none;
}

.button-icon {
    background-color: transparent;
    border: none;
    margin: 0px;
    padding: 0px;
}

/* forms */
form abbr.required {
    display: none;
}

.btn {
    overflow: hidden;
    text-overflow: ellipsis;
}

label {
    text-transform: uppercase;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 11px;
}

.form-horizontal .control-label,
.form-horizontal .radio,
.form-horizontal .checkbox,
.form-horizontal .radio-inline,
.form-horizontal .checkbox-inline {
    padding-top: 10px;
}

fieldset {
    padding-bottom: 2em;
}

fieldset:first-of-type {
    padding-top: 2em;
}

/* tables & table panels */
.table thead>tr>th,
.table tbody>tr>th,
.table tfoot>tr>th,
.table thead>tr>td,
.table tbody>tr>td,
.table tfoot>tr>td {
    border-top: none;
    border-bottom: none;
}

.table thead {
    text-transform: uppercase;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    font-size: 11px;
}

.panel.table thead>tr>th,
.panel.table tbody>tr>th,
.panel.table tfoot>tr>th,
.panel.table thead>tr>td,
.panel.table tbody>tr>td,
.panel.table tfoot>tr>td {
    padding: 10px 15px 5px 15px;
    margin: 0;
    background-color: transparent;
    border-collapse: separate !important;
}

.panel.table thead>tr>th,
.panel.table thead>tr>td {
    padding-top: 45px;
}

/* some extra padding at the bottom of a panel table */
.panel.table tbody.panel-body>tr:first-child>th,
.panel.table tbody.panel-body>tr:first-child>td {
    padding-top: 15px;
}

/* some extra padding at the bottom of a panel table */
.panel.table tbody.panel-body.panel-footer>tr:last-child>th,
.panel.table tbody.panel-body.panel-footer>tr:last-child>td,
.panel.table tfoot>tr:last-child>th,
.panel.table tfoot>tr:last-child>td {
    padding-bottom: 25px;
}

/* rounded corners for panels that are tables */
.panel.table thead>tr:first-child>th:first-child,
.panel.table thead>tr:first-child>td:first-child {
    border-top-left-radius: 3px;
}

.panel.table thead>tr:last-child>th:last-child,
.panel.table thead>tr:last-child>td:last-child {
    border-top-right-radius: 3px;
}

.panel.table tbody.panel-body.panel-footer>tr:last-child>th:first-child,
.panel.table tbody.panel-body.panel-footer>tr:last-child>td:first-child,
.panel.table tfoot>tr:last-child>th:first-child,
.panel.table tfoot>tr:last-child>td:first-child {
    border-bottom-left-radius: 3px;
}

.panel.table tbody.panel-body.panel-footer>tr:last-child>th:last-child,
.panel.table tbody.panel-body.panel-footer>tr:last-child>td:last-child,
.panel.table tfoot>tr:last-child>th:last-child,
.panel.table tfoot>tr:last-child>td:last-child {
    border-bottom-right-radius: 3px;
}

.panel.table tbody>tr>th.empty,
.panel.table tbody>tr>td.empty {
    padding-bottom: 90px;
}

/* panels */
.panel {
    margin-bottom: 20px;
}

.panel-default {
    background-color: transparent;
}

.panel-default>.panel-heading {
    color: #939393;
    /* fallback */
    color: rgba(0, 0, 0, 0.4);
    background-color: #F6F6F6;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.6);
    border-bottom: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: normal;
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.panel-default>.panel-heading strong {
    font-size: 14px;
    color: #666;
    /* fallback */
    color: rgba(0, 0, 0, 0.6);
    font-weight: bold;
}

.panel-default>.panel-heading a {
    text-transform: none;
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
}

.panel-default>.panel-heading a.pay-invoice-btn {
    margin-top: -6px;
}

.panel-heading a:hover {
    text-decoration: none;
}

.panel-default>.panel-heading.important {
    font-weight: bold;
    padding-top: 45px;
}

.panel-default>.panel-heading i {
    font-variant: normal;
}

.panel-default>.panel-body,
.panel-default>.panel-body.panel-footer {
    background-color: #FCFCFC;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.9);
}

.panel-body a,
p a,
table a,
.panel-body a:hover,
p a:hover,
table a:hover {
    text-decoration: underline;
}

.panel-body .nav a,
.nav a,
.panel-body a.navbar-brand,
a.navbar-brand {
    text-decoration: none;
}

.panel-body>h5 {
    margin-top: 0;
}

.panel-body>h2 {
    margin-top: 0;
}

.panel.form-panel {
    margin-top: 2em;
}

.panel-body {
    padding: 15px;
}

.panel-default>.panel-footer.important {
    padding-top: 45px;
}

.panel-default>.panel-footer {
    background-color: #F6F6F6;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.6);
    border-top: none;
}

/* Inverted sections */
section.invert {
    background-color: #515151;
    /* fallback */
    background-color: rgba(0, 0, 0, 0.4);
}

.invert * {
    color: white !important;
}

.invert .panel {
    background-color: transparent;
}

.invert .panel-heading {
    background-color: #898989;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.3);
}

.invert .panel-body,
.invert .panel-body.panel-footer {
    background-color: #9B9B9B;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.4);
}

.invert .panel-footer {
    background-color: #ABABAB;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.5);
    border-top: none;
    padding-top: 1em;
    padding-bottom: 1em;
}

/* tabs */
.nav-tabs {
    border-color: transparent;
    font-variant: small-caps;
    text-transform: lowercase;
    font-size: 16px;
}

.nav-tabs a [class^="fa-"],
.nav-tabs a [class*=" fa-"] {
    font-variant: normal;
    font-size: 11px;
}

.nav-tabs>li>a,
.nav-tabs>li>a:focus {
    color: #929292;
    /* fallback */
    color: rgba(0, 0, 0, 0.4);
    font-weight: bold;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    background-color: #F6F6F6;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.6);
    border-color: transparent;
    color: #646464;
    /* fallback */
    color: rgba(0, 0, 0, 0.6);
}

.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus {
    background-color: #EFEFEF;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.2);
    border-color: transparent;
}

.container.tabbed {
    position: relative;
    top: 5px;
    margin-top: -5px
}

/* navigation */
.navbar,
.navbar-inverse {
    border: none;
    position: static;
    background-color: transparent !important;
    color: white;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 11px;
}

.navbar-nav>li>a {
    padding-top: 18px !important;
    padding-bottom: 12px !important;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:hover,
.navbar-inverse .navbar-nav>.active>a:focus {
    background-color: transparent;
    /* fallback */
    background-color: rgba(0, 0, 0, 0.05);
    color: white;
}

.navbar-default .navbar-nav li a,
.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-brand {
    color: white;
    /* fallback */
    color: rgba(255, 255, 255, 0.8);
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

ul.navbar-inverse {
    background-color: transparent;
}

.navbar.alert-info {
    background-color: #B9B9B9;
    /* fallback */
    /* cont-ghernandez: se actualiza el canal alpha 0.4 -> 0.6 */
    background-color: rgba(255, 255, 255, 0.6) !important;
    border-bottom: none;
    background-image: none;
}

.navbar.alert-danger{
    background-color: rgb(172,43,55) !important;
    border-bottom: none;
    background-image: none;
    border-radius: 0px;    
}

.alert-danger div{
    color: white !important;
}

ul.navbar-inverse li.active a {
    background-color: transparent !important;
}

ul.navbar-default li a {
    background-color: #ddd
}

.sign-out {
    font-size: 16px;
}

.fa-chevron-left {
    margin-right: 5px;
}

.navbar-collapse {
    padding-right: 0;
}

.navbar-form {
    padding-right: 0
}

#flash-messages {
    top: 50px;
    /*cont-ghernandez: cambio del color de fondo para usar el gris neturo especificado en los lineamientos de marca*/
    background-color: #999999;
}

/* cont-ghernandez: se crea un selector para aplicar el estilo de fuente a los mensajes de alerta */
div#flash-messages .container {
    color: rgb(21, 75, 117);
    font-weight: bold;
    /*cont-ghernandez: se elimina el padding superior e inferior*/
    padding: 0px 15px;
    /*cont-ghernandez: centrado de texto*/
    text-align: center;
}

/* cont-ghernandez: se elimina el redondeo de las esquinas para los alert dentro de un flash-message */
div#flash-messages .alert-info {
    border-radius: 0px !important;
}

/* badges */
.badge {
    background-color: #BBBBBB;
    /* fallback */
    background-color: rgba(255, 255, 255, 0.4);
}

/* elements */
pre {
    border: none;
    background-color: transparent;
    padding: 0 0 0 0;
}

code {
    background-color: transparent;
}

dd {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #333;
    /* fallback */
    color: rgba(0, 0, 0, 0.6);
}

article.jumbotron {
    margin-bottom: 2em;
}

main {
    display: block;
}

/* messages */
.read * {
    color: #555;
    color: rgba(0, 0, 0, 0.4);
}

pre.message {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
    word-break: normal;
    background-color: transparent;
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    font-size: 14px;
}

#keys.table thead>tr>th,
.table tbody>tr>th,
.table tfoot>tr>th,
.table thead>tr>td,
.table tbody>tr>td,
.table tfoot>tr>td {
    padding: 0 0 10px 0;
}

/* definition lists */
@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 22.5%;
    }

    .dl-horizontal dd {
        margin-left: 26%;
    }

    .wide.dl-horizontal dt {
        width: 30.5%;
    }

    .wide.dl-horizontal dd {
        margin-left: 34.5%;
    }
}

dl+dl {
    margin-top: 60px;
}

/* SSO */
ul.list-auth-provider {
    padding: 1em 0 1em 0;
    border-bottom: 1px solid #eee;
}

.list-auth-provider .auth-provider {
    display: block;
    text-decoration: none;
    margin-bottom: 12px;
}

.list-auth-provider .auth-provider:hover {
    text-decoration: none;
}

.fa-auth0:before {
    content: "\f005";
}

.fa-keycloak:before {
    content: '\2039\203A';
    font-size: 18px;
    line-height: 0;
    top: 1px;
}

/* place holders */
::-webkit-input-placeholder {
    font-style: italic;
}

:-moz-placeholder {
    /* Firefox 18- */
    font-style: italic;
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-style: italic;
}

/* Override header styles */
header .container {
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar.navbar-fixed-top {
    background-color: transparent;
    border-bottom: none;
}

.navbar-inverse {
    background-color: rgb(9, 35, 55) !important;
    border: none;
    margin: 0;
    min-height: 48px;
}
/*
#main-content {
    background-color: #F8F9FA;
    padding: 30px 0;
    min-height: auto;
    padding-bottom: 20px;
}
*/
/* Adjust content area */
.container {
    background-color: transparent;
    padding: 20px 30px;
}

/* API Cards Styles */
.invert {
    padding: 60px 0;
    background-color: white !important;
}

.invert * {
    color: inherit !important;
}

.invert h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: white !important;
}

.invert .container {
    background-color: #003B71;
    border-radius: 12px;
    padding: 40px 55px;
    max-width: 1200px;
    margin: 0 auto;
}

.invert .row {
    display: flex;
    flex-wrap: wrap;
}

.invert .col-md-3 {
    display: flex;
}

.api-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.api-icon {
    height: 60px;
    margin-bottom: 20px;
}

.api-card h3 {
    color: #003B71 !important;
    font-size: 20px;
    margin: 15px 0;
    font-weight: 600;
}

.api-card p {
    color: #666 !important;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.api-card .btn-outline {
    display: inline-block;
}

.btn-outline {
    color: #003B71 !important;
    background-color: transparent;
    border: 1px solid #003B71;
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    color: white !important;
    background-color: #003B71;
    text-decoration: none;
}

@media (max-width: 768px) {
    .api-card {
        margin-bottom: 20px;
    }
    
    .api-card p {
        min-height: auto;
    }
    
    .invert .container {
        padding: 20px 35px;
        margin: 0 15px;
    }
}

/* Plans Section Styles */
.plans {
    /*padding: 60px 0;*/
    background-color: white;
}

.why-use-portal {
    padding-right: 40px;
}

.why-use-portal h2 {
    font-size: 36px;
    color: #003B71;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 600;
}

.why-use-portal p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.feature-card {
    height: 100%;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    background-color: rgba(0, 59, 113, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.icon-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: none;
}

.feature-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    position: absolute;
}

.text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0) 100%);
    color: white;
}

.text-overlay h3 {
    color: white !important;
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.text-overlay .btn-outline {
    color: white !important;
    border-color: white;
    background-color: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-overlay .btn-outline:hover {
    background-color: white;
    color: #003B71 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    color: #003B71;
    background-color: transparent;
    border: 1px solid #003B71;
    border-radius: 4px;
    padding: 8px 20px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    color: white;
    background-color: #003B71;
    text-decoration: none;
}

@media (max-width: 768px) {
    .why-use-portal {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .image-container {
        height: 300px;
    }
}

/* Sell Section Styles */
.sell {
    background-color: white;
    padding: 30px 0 60px;
    position: relative;
}

.sell::before {
    display: none;
}

.sell .container {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

.sell h2, 
.sell p, 
.sell a {
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.sell h2 {
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 20px;
    color: #666 !important;
}

.sell h3 {
    color: #003B71 !important;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.sell p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #666 !important;
    font-size: 16px;
}

.sell .btn {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: normal;
    color: #003B71 !important;
    border: 1px solid #003B71;
    background-color: transparent;
    transition: all 0.3s ease;
}

.sell .btn:hover {
    background-color: #003B71;
    color: white !important;
}

.sell .image-container {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.sell .feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sell .icon-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 2;
}

.sell .feature-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Remove dashboard-apps section and keep only common styles */
.dashboard-apps {
    display: none;
}

/* Common styles for all pages */
#main-content {
    /*padding-top: 80px;*/
    background-color: #f5f7fa;
    /*min-height: calc(100vh - 60px);*/
}

/* Panel styles */
.panel {
    background: #FFFFFF;
    border: 1px solid #E6E9ED;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.panel-heading {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E6E9ED;
    padding: 16px 24px;
    border-radius: 6px 6px 0 0;
}

.panel-heading th {
    color: #333333;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 16px !important;
}

.panel-body td {
    padding: 12px 16px !important;
    vertical-align: middle;
    border-bottom: 1px solid #E5E5E5;
    color: #333333;
    font-size: 13px;
}

.table > thead > tr > th {
    border-bottom: none;
}

.table > tbody > tr > td {
    border-top: none;
}

/* Table styles */
.table {
    margin-bottom: 0;
}

.table > thead > tr > th {
    color: #1B2733;
    font-size: 13px;
    font-weight: 600;
    padding: 16px 24px;
    border-bottom: 1px solid #E6E9ED;
    background: #FFFFFF;
}

.table > tbody > tr > td {
    padding: 16px 24px;
    border-top: none;
    border-bottom: 1px solid #E6E9ED;
    color: #1B2733;
    font-size: 14px;
    vertical-align: middle;
}

.table > tbody > tr:hover {
    background-color: #F8F9FA;
}

.table a {
    color: #003B71;
    text-decoration: none;
    font-weight: 500;
}

.table a:hover {
    color: #002548;
}

/* Button styles */
.btn {
    font-weight: 500;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: rgb(9, 35, 55);
    border-color: rgb(9, 35, 55);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #106EBE;
    border-color: #106EBE;
}

.btn-default {
    background: #FFFFFF;
    border: 1px solid #E6E9ED;
    color: #1B2733;
}

.btn-default:hover {
    background: #F8F9FA;
    border-color: #E6E9ED;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

/* Status labels */
.label {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.label-live {
    background-color: #28A745;
}

.label-pending {
    background-color: #FFC107;
}

/* Dashboard specific styles */
.dl-horizontal {
    margin: 20px 0;
}

.dl-horizontal dt {
    color: #666;
    font-weight: 600;
    padding: 8px 0;
}

.dl-horizontal dd {
    padding: 8px 0;
    margin-bottom: 10px;
}

.dl-horizontal dd code {
    background-color: #f5f7fa;
    color: #003B71;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Alert styles */
.alert {
    border: none;
    border-radius: 8px;
    padding: 20px;
    /*cont-ghernandez: Se elimina el padding inferior para que ocupe toda el bloque
    margin-bottom: 20px;*/
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* List styles */
.list-unstyled li {
    padding: 10px 0;
    border-bottom: 1px solid #eef0f5;
}

.list-unstyled li:last-child {
    border-bottom: none;
}

/* Navbar styles */
#navbar-1 {
    background-color: rgba(255, 255, 255, 0.1)!important;
    border: none !important;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

.navbar-collapse {
    padding: 0;
    border: none !important;
    background-color: #2196F3 !important;
}

.nav.navbar-nav {
    margin: 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E5E5E5;
    background: white;
    width: 100%;
    padding-left: 20px;
    border-radius: 0 0 12px 12px;
}

.navbar-nav > li {
    margin: 0;
}

.navbar-nav > li > a {
    color: #666666 !important;
    font-size: 13px;
    padding: 15px 20px !important;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    border-bottom: 2px solid transparent;
}

.navbar-nav > li > a:hover {
    color: rgb(9, 35, 55) !important;
    background: transparent !important;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background: transparent !important;
    color: rgb(9, 35, 55) !important;
    border-bottom: 2px solid rgb(9, 35, 55);
}

.navbar-header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    width: 100%;
}

.navbar-header a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-header img {
    height: 40px;
    width: auto;
    margin: 0 auto;
}

.container.tabbed {
    background: transparent;
    border: none !important;
}

@media (max-width: 768px) {
    .nav.navbar-nav {
        flex-direction: column;
    }
    
    .navbar-nav > li {
        width: 100%;
        text-align: center;
    }
}

/* Main Navigation Styles */
.main-nav {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 30px;
}

.main-nav .container {
  padding: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-item {
  margin: 0;
  padding: 0;
}

.nav-item a {
  display: block;
  padding: 15px 25px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-item a:hover {
  color: #0099cc;
  text-decoration: none;
}

.nav-item.active {
  border-bottom: 2px solid #0099cc;
}

.nav-item.active a {
  color: #0099cc;
}

/* Main Content Styles */
#main-content {
    background-color: #F8F9FA;
    /*padding: 30px 0;*/
}

/* Panel and Box Styles */
.panel {
    background: #FFFFFF;
    border: 1px solid #E6E9ED;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.panel-default {
    border: none;
}

.panel-heading {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E6E9ED;
    padding: 16px 24px;
    border-radius: 6px 6px 0 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #1B2733;
    font-weight: 600;
}

/* Code Styles */
code {
    background: #F8F9FA;
    color: #1B2733;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* Product Offers Section */
.applications {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.applications h1 {
    font-size: 24px;
    color: #1B2733;
    margin-bottom: 16px;
}

.applications p {
    color: #4A5868;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.application-list {
    background: #FFFFFF;
    border: 1px solid #E6E9ED;
    border-radius: 6px;
    padding: 24px;
}

.application-list h2 {
    font-size: 18px;
    color: #1B2733;
    margin-bottom: 16px;
}

/* Navigation Styles */
.nav-tabs {
    border-bottom: 1px solid #E6E9ED;
    padding: 0 24px;
    background: #FFFFFF;
}

.nav-tabs > li > a {
    color: #4A5868;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border: none;
    border-bottom: 2px solid transparent;
    margin: 0;
}

.nav-tabs > li > a:hover {
    color: rgb(9, 35, 55);
    background: transparent;
    border-bottom: 2px solid rgb(9, 35, 55);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: rgb(9, 35, 55);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgb(9, 35, 55);
}

/* Main content styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}

.applications {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 30px;
}

.applications h1 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.applications p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.application-list {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 25px;
  margin-top: 20px;
}

.application-list h2 {
  font-size: 20px;
  font-weight: 500;
  color: #444;
  margin-bottom: 10px;
}

.application-list p {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* Panel styles */
.panel {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.panel-default {
  border-color: #e9ecef;
}

/* Table styles */
.table {
  width: 100%;
  margin-bottom: 0;
}

.table thead th {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  color: #495057;
  font-weight: 500;
  padding: 12px 15px;
  font-size: 14px;
}

.table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
  font-size: 14px;
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Button styles */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 4px;
  transition: all 0.2s;
}
/*
.btn-primary {
  color: #fff;
  background-color: #0056b3;
  border-color: #0056b3;
}*/

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
}

.btn-default {
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
}

.btn-default:hover {
  background-color: #f8f9fa;
  border-color: #b9bfc4;
}

.btn-sm {
  padding: 4px 8px;
  font-size: 12px;
}

/* Label styles */
.label {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 3px;
}

.label-live {
  background-color: #28a745;
  color: #fff;
}

.label-suspended {
  background-color: #dc3545;
  color: #fff;
}

/* Code styles */
code {
  padding: 2px 4px;
  font-size: 13px;
  color: #495057;
  background-color: #f8f9fa;
  border-radius: 3px;
}

/* Navigation styles */
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 20px;
}

.nav-tabs > li {
  margin-bottom: -1px;
}

.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  color: #495057;
  padding: 10px 15px;
  text-decoration: none;
}

.nav-tabs > li > a:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  background-color: #f8f9fa;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #495057;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-bottom-color: transparent;
  cursor: default;
}

/* Pagination styles */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 4px;
  justify-content: center;
  margin-top: 20px;
}

.pagination > li > a {
  position: relative;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #0056b3;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.pagination > li:first-child > a {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover {
  color: #004494;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.pagination > .active > a,
.pagination > .active > a:hover {
  z-index: 3;
  color: #fff;
  background-color: #0056b3;
  border-color: #0056b3;
  cursor: default;
}

/* Navigation Styles */
@media (max-width: 768px) {
    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .navbar-toggle {
        display: block;
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 9px 10px;
        z-index: 1;
        background-color: transparent !important;
    }

    .navbar-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-toggle .icon-bar,
    .navbar-toggle:not(.collapsed) .icon-bar {
        background-color: #fff !important;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        margin-top: 4px;
        display: block;
    }

    .navbar-toggle .icon-bar:first-child {
        margin-top: 0;
    }

    .navbar-inverse .navbar-toggle {
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #fff !important;
    }

    .navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-header img {
        height: 40px;
        margin: 10px 0;
    }

    .navbar-collapse {
        border: none;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        padding: 0;
        max-height: none;
        box-shadow: none;
        width: 100vw;
        margin-left: -15px;
        margin-right: -15px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .nav.navbar-nav {
        margin: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 0;
        border-radius: 0;
    }

    .navbar-nav > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav > li > a {
        padding: 15px 30px !important;
        color: #333 !important;
        text-align: left;
    }

    .navbar-nav > li.active > a {
        color: rgb(9, 35, 55) !important;
        background: #f8f9fa !important;
        border-bottom: none !important;
    }

    .navbar-nav > li > a:hover {
        background: #f8f9fa !important;
    }

    #navbar-1 {
        flex-direction: column;
        height: auto !important;
        border-radius: 0 !important;
    }

    .container.tabbed {
        padding: 0;
    }

    /* Header styles for mobile */
    .acp-header .container {
        padding: 10px 15px;
    }

    .acp-header .logo-container {
        justify-content: center;
        position: relative;
    }

    .acp-header .acp-logo {
        height: 40px;
        margin: 0 auto;
    }

    .acp-header .signin-container {
        position: absolute;
        right: 0;
    }

    .acp-header .signin-container .btn span {
        display: none;
    }

    .acp-header .signin-container .btn i {
        margin: 0;
        font-size: 18px;
    }

    .acp-header .signin-container .btn {
        padding: 8px 12px;
        min-width: 0;
    }
}

/* Navigation base styles */
.navbar-header {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.navbar-header img {
    height: 40px;
    width: auto;
}

.nav.navbar-nav {
    display: flex;
    align-items: center;
    background: white;
    padding-left: 20px;
    border-radius: 0 0 12px 12px;
    margin: 0;
}

.navbar-nav > li {
    margin: 0;
}

.navbar-nav > li > a {
    color: #666666 !important;
    font-size: 13px;
    padding: 15px 20px !important;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    border-bottom: 2px solid transparent;
}

.navbar-nav > li > a:hover {
    color: rgb(9, 35, 55) !important;
    background: transparent !important;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background: transparent !important;
    color: rgb(9, 35, 55) !important;
    border-bottom: 2px solid rgb(9, 35, 55);
}

/* Desktop styles */
@media (min-width: 769px) {
    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
    }

    .navbar-header a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .navbar-header img {
        height: 40px;
        width: auto;
        margin: 10px auto;
    }

    .navbar-toggle {
        display: none;
    }

    .navbar-collapse {
        display: block !important;
        border: none;
        background-color: transparent;
        width: auto;
    }

    .nav.navbar-nav {
        flex-direction: row;
        border-bottom: none;
    }

    .navbar-nav > li {
        border-bottom: none;
        width: auto;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .navbar-toggle {
        display: block;
        position: absolute;
        left: 30px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 9px 10px;
        z-index: 1;
        background-color: transparent !important;
    }

    .navbar-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-toggle .icon-bar,
    .navbar-toggle:not(.collapsed) .icon-bar {
        background-color: #fff !important;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        margin-top: 4px;
        display: block;
    }

    .navbar-toggle .icon-bar:first-child {
        margin-top: 0;
    }

    .navbar-inverse .navbar-toggle {
        border-color: rgba(255, 255, 255, 0.3) !important;
    }

    .navbar-inverse .navbar-toggle .icon-bar {
        background-color: #fff !important;
    }

    .navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .navbar-header img {
        height: 40px;
        margin: 10px 0;
    }

    .navbar-collapse {
        border: none;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        padding: 0;
        max-height: none;
        box-shadow: none;
        width: 100vw;
        margin-left: -15px;
        margin-right: -15px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .nav.navbar-nav {
        margin: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 0;
        border-radius: 0;
    }

    .navbar-nav > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav > li > a {
        padding: 15px 30px !important;
        color: #333 !important;
        text-align: left;
    }

    .navbar-nav > li.active > a {
        color: rgb(9, 35, 55) !important;
        background: #f8f9fa !important;
        border-bottom: none !important;
    }

    .navbar-nav > li > a:hover {
        background: #f8f9fa !important;
    }

    #navbar-1 {
        flex-direction: column;
        height: auto !important;
        border-radius: 0 !important;
    }

    .container.tabbed {
        padding: 0;
    }
}

.applications .application-list {
  max-width: none;
  margin: 0;
  padding: 20px;
}

.applications .application-list h2 {
  text-align: center;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 24px;
  color: #1B2733;
  margin-bottom: 20px;
}

.applications .application-form {
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E6E9ED;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.applications .application-form .panel-body {
  padding: 25px;
}

.applications .application-form .form-group {
  margin-bottom: 20px;
}

.applications .application-form .form-control-static {
  padding-top: 7px;
}

.applications .application-form .control-label {
  padding-top: 7px;
  text-align: right;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
}

.applications .application-form .btn {
  min-width: 150px;
}

.applications .application-form input[type="text"],
.applications .application-form textarea {
  border: 1px solid #E6E9ED;
  border-radius: 4px;
  padding: 8px 12px;
  width: 100%;
  font-size: 14px;
  color: #1B2733;
}

.applications .application-form .form-control-static {
  font-size: 14px;
  color: #1B2733;
}

/* Specific styles for applications index */
.applications-index {
  width: fit-content;
  min-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.applications-index .application-list {
  max-width: none;
  margin: 0;
}

/* Specific styles for application forms (new/edit) */
.applications-form {
  padding: 20px;
  margin-bottom: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.applications-form .application-list {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 24px 20px;
}

.applications-form .application-list h2 {
  text-align: center;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
  font-size: 24px;
  color: #1B2733;
  margin: 0 0 20px 0;
}

/* Panel styles within application forms */
.applications-form .panel {
  margin-bottom: 0;
}

.applications-form .panel-body {
  padding: 20px;
}

/* Ensure Bootstrap validation styles take precedence */
.has-error .form-control {
  border-color: #b94a48 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
}

.has-error .form-control:focus {
  border-color: #953b39 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392 !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392 !important;
}

.has-error .help-block,
.has-error .control-label {
  color: #b94a48 !important;
}

/* cont-ghernandez: Selectores para la tabla de aplicaciones mostrada en /admin/ (overview) */
.content-center {
    display: flex;
    justify-content: center;
}

.table-head {
    border-style: solid;
    border-width: 2px 0px 0px 0px;
    background-color: rgba(153, 153, 153, 0.2) !important;
}

#dashboard_apis_table thead tr {
    background-color: transparent !important;
}

#dashboard_apis_table thead tr th {
    background-color: transparent !important;
}

#flash-messages > .navbar.alert > .container {
    font-size: 13px !important;
    font-family: 'Myriad Pro', 'Curier';
}

/* Actualización de tamaño horizontal para formulario de edición */
.panel-default > .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.applications-form > .application-list {
    max-width: unset !important;
    min-width: fit-content !important;
}

.applications-form {
    max-width: unset !important;
}