/* =========================================================
   Robi Plugin - Custom Stylesheet
   ========================================================= */

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0c0a15;
    color: #ffffff;
}

/* --- Layout Contenedor Perfil --- */
.robi-profile-body {
    background-color: #0c0a15;
    margin: 0;
    padding: 0;
}

.robi-profile-wrapper {
    max-width: 440px;
    margin: 0 auto;
    padding: 24px 16px 90px 16px;
    box-sizing: border-box;
}

/* --- Tarjeta del Plan ("Activate plan details") --- */
.plan-card {
    background: #161326;
    border: 1px solid #26213e;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.plan-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.plan-card-title-outside {
    font-size: 15px;
    font-weight: 700;
    color: #9ca3af;
    margin: 0;
    text-transform: uppercase;
}

.plan-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.status-badge.active {
    background: #16a34a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

.status-badge.inactive {
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Lista de Detalles del Plan */
.plan-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
}

.detail-icon {
    color: #8b85ac;
    flex-shrink: 0;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.plan-name-multiline {
    max-width: 180px;
    line-height: 1.3;
}

/* --- Sección Menús Profile --- */
.menu-profile-section {
    margin-top: 24px;
}

.menu-profile-title {
    font-size: 15px;
    font-weight: 700;
    color: #9ca3af;
    margin: 0 0 12px 0;
}

.menu-list {
    background: transparent;
    margin-bottom: 28px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #231e3a;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}

.menu-icon {
    color: #8b85ac;
}

.chevron-icon {
    color: #6b7280;
}

.btn-logout {
    width: 100%;
    padding: 14px;
    background: #231f3d;
    color: #d1d5db;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-logout:hover {
    background: #2c274c;
    color: #ffffff;
}

/* --- Navigation Bar Inferior --- */
.robi-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #141024;
    border-top: 1px solid #231e3a;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 100;
}

.robi-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #8b85ac;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.robi-bottom-nav .nav-item.active {
    color: #f59e0b;
}

/* --- Layout Contenedor Login --- */
.robi-login-body {
    background-color: #0c0a15;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robi-login-container {
    width: 100%;
    max-width: 380px;
    padding: 32px 20px;
    box-sizing: border-box;
}

.robi-login-header {
    margin-bottom: 28px;
    text-align: left;
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.login-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

.login-input-wrapper {
    display: flex;
    align-items: center;
    background: #eef2ff;
    border-radius: 12px;
    padding: 4px 16px;
    margin-bottom: 20px;
    height: 52px;
    box-sizing: border-box;
}

.phone-icon {
    color: #a855f7;
    margin-right: 12px;
    flex-shrink: 0;
}

.login-input {
    width: 100%;
    border: none;
    background: transparent;
    color: #1e1b4b;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.btn-login-gradient {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #b829e3 0%, #f85e48 100%);
    border: none;
    border-radius: 24px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(184, 41, 227, 0.3);
    transition: opacity 0.2s;
}

.btn-login-gradient:hover {
    opacity: 0.92;
}

/* --- Modales de Confirmación --- */
.robi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}

.robi-modal-overlay.active {
    display: flex;
}

.robi-modal-box {
    background: #141124;
    border: 1px solid #2d264a;
    border-radius: 16px;
    width: 88%;
    max-width: 320px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.modal-subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

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

.btn-modal-cancel {
    flex: 1;
    padding: 12px;
    background: #383057;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-modal-confirm {
    flex: 1;
    padding: 12px;
    background: linear-gradient(90deg, #b829e3 0%, #f85e48 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}