/* ======== ESTILO BASE ======== */
body {
    margin: 0;
    padding: 0;
    background-color: #1c1c1c;
    font-family: 'Poppins', sans-serif;
    color: #e6e6e6;
    user-select: none;
}

/* ======== CONTENEDOR PRINCIPAL ======== */
.container-main {
    width: 850px;
    height: 460px;
    margin: 90px auto;
    border-radius: 20px;
    background-color: #222;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    display: flex;
    overflow: hidden;
}

/* ======== PANEL IZQUIERDO (Opciones) ======== */
.section-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: #1f1f1f;
    padding: 25px;
    border-right: 1px solid #333;
}

.title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00b37e;
}

.title-white{
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

/* ======== SALDO ======== */
.container-saldo {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #2a2a2a;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.label-saldo {
    font-size: 1.1rem;
    color: #bbb;
}

.saldo-diseño {
    font-size: 1.8rem;
    font-weight: 700;
}

.profit { color: #22c55e; }
.loss { color: #dc2626; }

/* ======== SELECTOR ======== */
.select-container {
    width: 100%;
    text-align: center;
}

.select-title {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #aaa;
}

.select {
    width: 70%;
    padding: 6px;
    border-radius: 8px;
    background-color: #2a2a2a;
    border: 1px solid #333;
    color: #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select:hover {
    background-color: #333;
}

/* ======== BOTÓN ======== */
.button-bank {
    height: 45px;
    width: 80%;
    background-color: #0e0e0e;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.3s ease;
}

.button-bank:hover {
    background-color: #ddd;
    color: #111;
}


/* ======== PANEL DERECHO (Transacciones) ======== */
.section-transacciones {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
}

.title-transacciones {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #00b37e;
}

/* ======== CONTENEDOR DE TRANSACCIONES ======== */
.wrapper-transacciones {
    width: 95%;
    max-height: 300px;
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 15px;
    overflow-y: auto;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}

/* Scrollbar personalizada discreta */
.wrapper-transacciones::-webkit-scrollbar {
    width: 8px;
}
.wrapper-transacciones::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 4px;
}
.wrapper-transacciones::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

/* ======== TARJETAS DE TRANSACCIÓN ======== */
.transaccion {
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 12px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.transaccion:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

/* Cabecera */
.transaccion-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.tipo {
    font-weight: 600;
    font-size: 1.1rem;
}

.fecha {
    font-size: 0.9rem;
    color: #999;
}

/* Cuerpo */
.transaccion-body p {
    margin: 2px 0;
    color: #ccc;
    font-size: 0.9rem;
}

/* Monto */
.transaccion-footer {
    text-align: right;
    margin-top: 8px;
}

.monto {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Colores */
.green .monto,
.green .tipo {
    color: #22c55e;
}

.red .monto,
.red .tipo {
    color: #dc2626;
}


/*=== Zona de retiro ===*/

.input-retiro{
    width: 80%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #333;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 1rem;
}
/*=== ZONA DE DEPOSITO ====*/
.input-deposito{
    width: 80%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #333;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 1rem;
}

/*=== ZONA DE ENVIO === */

.input-envio{
    width: 80%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #333;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 1rem;
}



/*DISEÑO RESPONSIVE*/

@media screen and (max-width: 768px ){
    .container-main{
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
    
    .section-options{
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

