/* Variables y estilos base */
:root {
    --color-primary: #00B2FF;
    --color-secondary: #003F3C;
    --font-family: 'Poppins', sans-serif;
    --text-light: #F4F7FA;
}

body {
    background-color: var(--text-light) !important;
    font-family: var(--font-family) !important;
}

/* Layout Styles */
.bg-thub {
    background-color: var(--text-light) !important;
}

.bg-thub2{
    background-color: #003F3C !important;
}

.bg-section {
    background-color: var(--color-secondary);
}

/* Logo Styles */
.trinity-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trinity-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.trinity-text {
    display: flex;
    flex-direction: column;
    color: var(--text-light);
    font-family: var(--font-family);
    font-weight: bold;
    line-height: 1.1;
    text-align: center;
}

.trinity-text .line-1 {
    font-size: clamp(2.5rem, 4vw, 4.8rem);
}

.trinity-text .line-2 {
    font-size: clamp(2rem, 3.2vw, 3.6rem);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .trinity-logo-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .trinity-icon {
        max-width: 80px;
    }

    .trinity-text {
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .trinity-icon {
        max-width: 170px;
    }
}

/* Text Colors */
.text-primario { color: #2E2E2E !important; }
.text-secundario { color: #6B7280 !important; }
.text-opcion { color: var(--text-light) !important; }
.acento { color: #00FFB3; }
.succes-color { color: #27D17D; }
.error-color { color: #FF5E5E; }
.warning-color { color: #FFC857; }

/* splash-screen */
#splash-screen {
    position: fixed;
    z-index: 9999;
    background: #F4F7FA;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
    /* transition: opacity 5000ms cubic-bezier(0.4, 0, 0.2, 1); */
    /* color: var(--text-success); */
}

#splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.spinner-img {
    animation: spin 1.2s linear infinite;
    display: inline-block;
    width: 100px;
    max-width: 100px;
    align-items: center;
    justify-content: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body #splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 56px;
}

body #splash-screen .spinner > div {
    width: 12px;
    height: 12px;
    background-color: #003F3C;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: fuse-bouncedelay 1s infinite ease-in-out both;
    animation: fuse-bouncedelay 1s infinite ease-in-out both;
}

body #splash-screen .spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

body #splash-screen .spinner .bounce2 {
    background-color: #00B2FF !important;
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

body #splash-screen .spinner .bounce3 {
    background-color: #27D17D !important;
}

body #splash-screen .spinner .bounce4 {
    background-color: #6B7280 !important;
}

@-webkit-keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes fuse-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}


body:not(.splash-screen-hidden) {
    overflow: auto;
}

body.splash-screen-hidden #splash-screen {
    visibility: hidden;
    opacity: 0;
}

/* splash-screen */

/* Navbar moderna */
.navbar-account {
    border-radius: 80%;
    /* height: 70px;
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.15); */
}

.navbar-brand-account {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

/* contenido-ejemplo */

.pricing-header {
    max-width: 700px;
  }

  .card-deck .card {
    min-width: 220px;
  }

/* account-navbar */
#navbarCart {
    transition: all 0.3s ease;
}

#navbarCart:hover {
    transform: scale(1.1);
}

#cartCount {
    font-size: 0.7rem;
    min-width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-cart {
    min-width: 300px;
    max-height: 400px;
    overflow-y: auto;
}

#navbarCart:hover .dropdown-menu {
    display: block;
}

.fs-7{
    font-size: 0.7rem;
}

/* Estilos para el carrito en móvil */
#navbarCartMobile {
    transition: all 0.3s ease;
}

#navbarCartMobile:hover {
    transform: scale(1.1);
}

#cartCountMobile {
    font-size: 0.7rem;
    min-width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Asegurar que el contenedor del carrito y el botón estén alineados */
.d-flex.align-items-center.d-lg-none {
    margin-left: auto;
}

/* Ajustar el espaciado entre el carrito y el botón del menú */
#navbarCartMobile {
    margin-right: 10px !important;
}

/* estilos Main */
.account-container {
    /* max-width: 800px; */
    /* margin: 40px auto; */
    padding: 20px;
}

.content-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.account-header {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.agency-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.agency-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-right: 20px;
}

.agency-details h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.agency-details p {
    color: var(--gray);
    margin: 0;
}

.account-status {
    background: rgba(76, 201, 240, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
}

.account-status .status-badge {
    background: var(--success);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.account-status .expiration {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-blue);
}

.card-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

/* Invoice Table */
.invoice-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.invoice-table th {
    background: var(--light-blue);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.invoice-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

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

.invoice-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-paid {
    background: rgba(76, 201, 240, 0.15);
    color: var(--success);
}

.badge-pending {
    background: rgba(248, 150, 30, 0.15);
    color: var(--warning);
}

.badge-canceled {
    background: rgba(229, 56, 59, 0.15);
    color: var(--danger);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
}

/* Summary Cards */
.summary-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.summary-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary);
}

.summary-card .value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.summary-card .label {
    color: var(--gray);
    font-size: 1rem;
}

/* Mostrar el carrito de móvil solo en móvil y ocultar el de escritorio */
@media (max-width: 991.98px) {
    #navbarCartMobile {
        display: block !important;
    }
    #navbarCart {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #navbarCartMobile {
        display: none !important;
    }
    #navbarCart {
        display: block !important;
    }
}
