body {
    background: #05070d;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
}
.container {
    width: 95%;
    max-width: 700px;
    margin: 40px auto;
}
.title {
    flex: 1;
    text-align: center;
    color: #00ffc3;
    font-size: 26px;
    margin-bottom: 0;
}
.section {
    background: #0b1220;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0, 255, 195, 0.08);
}
.section h3 {
    color: #00ffc3;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 255, 195, 0.2);
    padding-bottom: 5px;
}
/* FORM */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}
label {
    width: 45%;
    font-size: 14px;
}
input, select {
    width: 55%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #0f1a2e;
    color: #fff;
}
input:focus, select:focus {
    outline: 1px solid #00ffc3;
}
/* select flecha */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2300ffc3' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 30px;
}
/* BOTONES */
.btn-back {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #3a4150;
    color: #e0e0e0;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}
.btn-back:hover {
    background: red;
}
.btn-save {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #00ffc3;
    color: black;
    font-weight: bold;
    cursor: pointer;
}
.btn-save:hover {
    background: #00cfa1;
}
/* PASSWORD ICON */
.form-group i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #00ffc2;
}
.form-group i:hover {
    transform: translateY(-50%) scale(1.2);
}
/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modal-content {
    background: #111827;
    padding: 18px;
    border-radius: 12px;
    width: 90%;
    max-width: 380px;
    color: white;
    box-shadow: 0 0 20px rgba(0,255,200,0.25);
    position: relative;
}
/* modal title */
.modal-content h3 {
    margin-bottom: 12px;
    color: #00ffc3;
}
/* modal form */
.modal .form-group {
    margin-bottom: 8px;
}
.modal label {
    width: 40%;
    font-size: 13px;
    color: #9ca3af;
}
.modal input {
    width: 60%;
    padding: 6px;
    border-radius: 6px;
    background: #0f1a2e;
    border: none;
    color: white;
}
/* mensaje estilo limpio */
.modal-textarea {
    width: 60%;
    background: transparent;
    border: none;
    padding: 0;
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.4;
}
/* close icon */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
}
.modal-close img {
    width: 26px;
    cursor: pointer;
    transition: 0.2s;
}
.modal-close img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px red);
}
/* send icon */
.modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.modal-actions img {
    width: 32px;
    cursor: pointer;
    transition: 0.2s;
}
.modal-actions img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #00ffc3);
}
/* RESPONSIVE */
@media (max-width: 600px) {
    .container {
        margin: 20px 10px;
    }
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    label {
        width: 100%;
        margin-bottom: 5px;
    }
    input, select {
        width: 100%;
    }
    .modal label,
    .modal input,
    .modal-textarea {
        width: 100%;
    }
}
/* 🔥 FORZAR DARK EN TODOS LOS INPUTS */
input, select, textarea {
    background-color: #0f1a2e !important;
    color: #ffffff !important;
}
/* 🔥 INPUTS READONLY */
input[readonly] {
    background-color: #0f1a2e !important;
    color: #ffffff !important;
    opacity: 0.9;
}
/* 🔥 AUTOFILL CHROME */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0f1a2e inset !important;
    -webkit-text-fill-color: #ffffff !important;
}
/* 🔥 NORMALIZAR INPUT Y SELECT */
input, select {
    width: 55%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #0f1a2e;
    color: #fff;
    box-sizing: border-box;
}
/* =========================================
   INTL TEL INPUT
========================================= */
.iti {
    width: 55%;
}
.iti input {
    width: 100% !important;
    padding-left: 90px !important;
    font-size: 14px;
    background-color: #0f1a2e !important;
    color: #ffffff !important;
    border-radius: 6px;
    border: none;
    box-sizing: border-box;
}
.iti input:focus {
    outline: 1px solid #00ffc3;
}
.iti__selected-country {
    padding: 0 8px;
    font-size: 13px;
    opacity: 0.9;
}
.iti__dial-code {
    font-size: 13px;
    color: #9ca3af;
}
.iti__flag {
    transform: scale(0.9);
}
.iti__arrow {
    transform: scale(0.8);
}
.iti__country-list {
    background-color: #111827 !important;
    border: 1px solid #00ffc3;
    color: white;
    max-height: 220px;
    overflow-y: auto;
    z-index: 99999;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 255, 195, 0.15);
}
.iti__country:hover {
    background-color: #0f1a2e !important;
}
.iti__country.iti__highlight {
    background-color: #132238 !important;
}
.iti__country-name {
    color: white;
}
.iti__search-input {
    background-color: #0f1a2e !important;
    color: white !important;
    border: 1px solid #00ffc3 !important;
    border-radius: 6px;
}
.iti__search-input::placeholder {
    color: #9ca3af;
}
.section {
    overflow: visible;
}
@media (max-width: 600px) {
    .iti {
        width: 100%;
    }
}
/* PASSWORD HINT */
.password-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    margin-bottom: 18px;
    opacity: 0.95;
    transition: all 0.3s ease;
}
.password-hint i {
    color: #00ffc3;
    font-size: 14px;
}
/* 🔥 GLOW EFFECT */
.glow-hint {
    animation: glowPulse 2s infinite;
}
/* 🔥 ANIMATION */
@keyframes glowPulse {
    0% {
        text-shadow:
            0 0 0px rgba(255,255,255,0);
    }
    50% {
        text-shadow:
        0 0 10px rgba(0,255,195,0.7),
        0 0 18px rgba(0,255,195,0.35);
    }
    100% {
        text-shadow:
            0 0 0px rgba(255,255,255,0);
    }
}
/* =========================================================
   PACKAGES PAGE
========================================================= */
.packages-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px 14px;
    background:
            radial-gradient(circle at top,
            rgba(0,255,195,0.08),
            transparent 35%),
            #05070d;
    color: white;
}
/* =========================================================
   HEADER
========================================================= */
.packages-header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* =========================================================
   HEADER CONTROLS
========================================================= */
.header-controls {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================================
   TITLE
========================================================= */
.page-title {
    color: #00ffc3;
    font-size: 28px;
    font-weight: 900;
    text-shadow:
            0 0 12px rgba(0,255,195,0.45);
}
.page-title i {
    margin-right: 10px;
}
/* =========================================================
   SEARCH
========================================================= */
.search-box {
    width: 100%;
    max-width: 450px;
    position: relative;
}
.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ffc3;
}
.search-box input {
    width: 100% !important;
    height: 42px;
    padding-left: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0,255,195,0.22);
    background: #0b1220 !important;
    color: white !important;
    font-size: 14px;
    outline: none;
    box-shadow:
            0 0 12px rgba(0,255,195,0.08);
}
.search-box input:focus {
    border-color: #00ffc3;
    box-shadow:
            0 0 14px rgba(0,255,195,0.25);
}
/* =========================================================
   SCROLLABLE AREA
========================================================= */
.cards-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
}
/* =========================================================
   SCROLLBAR
========================================================= */
.cards-wrapper::-webkit-scrollbar {
    width: 8px;
}
.cards-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0,255,195,0.45);
    border-radius: 20px;
}


/* =========================================================
   GRID
========================================================= */

.cards-container {
    display: grid;
    padding: 10px 0 20px;
    grid-template-columns:
            repeat(auto-fill, 240px);
    justify-content: center;
    gap: 18px;
}

/* =========================================================
   CARD
========================================================= */

.package-card {
    position: relative;

    width: 240px;
    min-height: 390px;

    display: flex;
    flex-direction: column;

    border-radius: 18px;
    overflow: hidden;

    border: 1px solid rgba(0,255,195,0.22);

    background: #000;

    cursor: pointer;

    transition: 0.25s;

    box-shadow:
            0 0 14px rgba(0,255,195,0.08);
}

.package-card:hover {

    transform:
            translateY(-4px)
            scale(1.02);

    border-color: #00ffc3;

    box-shadow:
            0 0 20px rgba(0,255,195,0.22);
}

/* =========================================================
   BG
========================================================= */

.package-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top;
}

/* =========================================================
   OVERLAY
========================================================= */

.card-overlay {
    position: absolute;
    inset: 0;

    background:
            linear-gradient(
                    to bottom,
                    rgba(0,0,0,0.05) 0%,
                    rgba(0,0,0,0.20) 35%,
                    rgba(0,0,0,0.88) 100%
            );
}

/* =========================================================
   CONTENT
========================================================= */

.card-content {
    position: relative;

    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =========================================================
   CENTER
========================================================= */

.card-center {

    min-height: 180px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: center;

    text-align: center;

    padding-top: 14px;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.card-description {

    flex: 1;

    background:
            linear-gradient(
                    to bottom,
                    rgba(0,0,0,0.82),
                    rgba(0,0,0,0.96)
            );

    border-top:
            1px solid rgba(0,255,195,0.18);

    padding: 10px 12px 14px;

    backdrop-filter: blur(4px);

    overflow: visible;
}

/* =========================================================
   NAME
========================================================= */

.package-name {

    font-size: 18px;
    font-weight: 900;

    margin-bottom: 6px;

    color: white;

    text-shadow:
            0 0 12px rgba(0,0,0,0.95);
}

/* =========================================================
   PRICE
========================================================= */

.package-price {

    font-size: 40px;

    line-height: 1;

    font-weight: 900;

    color: white;

    margin-top: 6px;
    margin-bottom: 4px;

    text-shadow:
            0 0 16px rgba(0,255,195,0.22),
            0 0 16px rgba(0,0,0,0.95);
}

/* =========================================================
   PERIOD
========================================================= */

.package-period {

    margin-top: 2px;

    font-size: 14px;

    font-weight: bold;

    color: #ffffff;

    text-shadow:
            0 0 10px rgba(0,0,0,0.95);
}

/* =========================================================
   FEATURES
========================================================= */

.package-features {

    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 0;
    margin: 0;
}

.package-features li {

    display: flex;

    align-items: flex-start;

    gap: 6px;

    font-size: 11px;

    line-height: 1.3;

    color: #d1d5db;

    text-shadow:
            0 0 8px rgba(0,0,0,0.95);
}

.package-features i {

    color: #00ffc3;

    font-size: 10px;

    margin-top: 2px;
}

.package-features a {
	color : #3dc58e;
	text-decoration: none;
}

.package-features a:hover {
	color : #ffffff;
	text-decoration: none;
	font-weight: bold;
}

.package-features a:visited {
	color : #f7497b;
}

/* =========================================================
   ACTIONS
========================================================= */

.card-actions {

    display: flex;

    justify-content: center;

    margin-top: 14px;
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination-container {

    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 6px;
}

.pagination-btn {

    min-width: 34px;
    height: 34px;

    border-radius: 10px;

    border:
            1px solid rgba(0,255,195,0.18);

    background: #0f172a;

    color: white;

    cursor: pointer;

    transition: 0.25s;
}

.pagination-btn:hover {

    background: #00ffc3;

    color: black;
}

.pagination-btn.active {

    background: #00ffc3;

    color: black;

    font-weight: bold;

    box-shadow:
            0 0 12px rgba(0,255,195,0.4);
}

/* =========================================================
   EMPTY
========================================================= */

.no-results {

    grid-column: 1/-1;

    text-align: center;

    padding: 40px;

    color: #9ca3af;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .cards-container {

        grid-template-columns:
                repeat(auto-fill, 240px);
    }
}

@media (max-width: 850px) {

    .cards-container {

        grid-template-columns:
                repeat(auto-fill, 220px);
    }

    .package-card {

        width: 220px;

        min-height: 390px;
    }
}

@media (max-width: 580px) {

    .cards-container {

        grid-template-columns: 1fr;

        justify-items: center;
    }

    .package-card {

        width: 240px;

        min-height: 390px;
    }

    .page-title {

        font-size: 22px;
    }
}

.actions-row{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.actions-row button{
    flex:1;
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.actions-row button{
    flex:1;
    height:52px;
}

.btn-store{
    background: linear-gradient(90deg,#00ffd5,#00c3ff);
    border:none;
    color:#000;
    font-weight:bold;
    border-radius:10px;
    cursor:pointer;
    transition:0.3s;
    height:52px;
}

.btn-store:hover{
    transform:scale(1.03);
    box-shadow:0 0 15px #00ffd5;
}

/* =========================================
   LOGOUT ICON
========================================= */

.logout-icon {

    position: fixed;

    top: 25px;
    right: 25px;

    width: 36px;
    height: 36px;

    cursor: pointer;

    transition: all .25s ease;

    z-index: 9999;
}

.logout-icon:hover {

    transform: scale(1.15);

    filter:
        drop-shadow(0 0 8px #ff3b3b);
}

.icon-hover {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.icon-hover:hover {
    transform: scale(1.3);
}

/* =========================================
   PAGE HEADER
========================================= */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
.exit-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all .25s ease;
}
.exit-icon:hover {
    transform: scale(1.2);
    filter:
        drop-shadow(0 0 8px #ff3b3b);
}


@media (max-width: 600px) {
    .page-header {
        flex-direction: row;
        align-items: center;
    }
    .title {
        font-size: 22px;
    }
    .exit-icon {
        width: 32px;
        height: 32px;
    }
}

.form-group input {
    padding-right: 40px;
}

.section h3 {
    line-height: 1.4;
    word-break: break-word;
}

/* =========================================
   MOBILE FIX
========================================= */

@media screen and (max-width: 768px) {

    .container {
        width: calc(100% - 20px);
        max-width: none;
        margin: 15px auto;
    }

    .form-group {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .form-group label {
        width: 100% !important;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .iti {
        width: 100% !important;
    }

    .title {
        font-size: 22px;
    }

}