html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Fondo general */
html, body {
    height: 100%;
    margin: 0;
}

main {
    min-height: calc(100vh - 140px); /* descuenta navbar + footer */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor login */
.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tarjeta */
.login-card {
    width: 420px;
    padding: 40px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(37,99,235,.10);
    backdrop-filter: blur(12px);
}

    /* Titulo */
    .login-card h2 {
        color: white;
        text-align: center;
        margin-bottom: 30px;
        font-weight: 600;
    }

    /* Labels */
    .login-card label {
        color: #d6d6d6;
        font-weight: 500;
        margin-bottom: 6px;
    }

    /* Inputs */
    .login-card input {
        width: 100%;
        padding: 12px;
        background: #0f172a;
        color: white;
        border: 1px solid #334155;
        border-radius: 10px;
        margin-bottom: 18px;
        transition: .25s;
    }

        .login-card input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,.25);
        }

    /* Botón */
    .login-card button {
        width: 100%;
        padding: 12px;
        background: linear-gradient( 90deg, #2563eb, #3b82f6 );
        color: white;
        border: none;
        border-radius: 10px;
        font-weight: bold;
        transition: .2s;
    }

        .login-card button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(37,99,235,.3);
        }

/* Texto registro */
.login-extra {
    margin-top: 18px;
    text-align: center;
    color: #bdbdbd;
}

    .login-extra a {
        color: #60a5fa;
        text-decoration: none;
    }

        .login-extra a:hover {
            color: white;
        }

/* Error */
.error-login {
    color: #ff4d4d;
    text-align: center;
    margin-top: 15px;
}

/* CONTENEDOR REGISTRO */
.register-container {
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* TARJETA */
.register-card {
    width: 500px;
    background: rgba(15,23,42,.92);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(37,99,235,.12);
    backdrop-filter: blur(12px);
}

    /* TITULO */
    .register-card h2 {
        color: white;
        text-align: center;
        margin-bottom: 35px;
        font-weight: 600;
    }

/* CAMPOS */
.register-group {
    margin-bottom: 18px;
}

    .register-group label {
        display: block;
        color: #d6d6d6;
        margin-bottom: 8px;
        font-weight: 500;
    }

    .register-group input {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #334155;
        background: #0f172a;
        color: white;
        transition: .25s;
    }

        .register-group input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,.25);
        }

/* BOTON */
.btn-register {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient( 90deg, #2563eb, #3b82f6 );
    color: white;
    font-weight: bold;
    transition: .2s;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37,99,235,.35);
    }

/* MENSAJE */
.register-msg {
    margin-top: 18px;
    text-align: center;
    color: #ff6b6b;
}

/* CONTENEDOR PERFIL */
.profile-container {
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* TARJETA */
.profile-card {
    width: 600px;
    background: rgba(15,23,42,.92);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(37,99,235,.12);
    backdrop-filter: blur(12px);
}

/* TITULO */
.profile-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 35px;
}

/* FILAS */
.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1.25rem;
}

    .profile-row:last-child {
        border-bottom: none;
    }

/* ETIQUETA */
.profile-label {
    color: #93c5fd;
    font-weight: 600;
}

/* VALOR */
.profile-value {
    color: white;
    font-weight: 500;
}

/* ===========================
   CREAR CUENTA
=========================== */

.create-account-container {
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* CARD */
.create-account-card {
    width: 520px;
    background: rgba(15,23,42,.92);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(37,99,235,.12);
    backdrop-filter: blur(12px);
}

/* TITULO */
.create-account-title {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
}

/* FILAS */
.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

    /* LABEL */
    .form-row label {
        color: #d6d6d6;
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 500;
    }

    /* INPUTS Y SELECT */
    .form-row input,
    .form-row select {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #334155;
        background: #0f172a;
        color: white;
        font-size: 1rem;
        transition: .25s;
    }

        .form-row input:focus,
        .form-row select:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,.25);
        }

/* BOTON */
.btn-create-account {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient( 90deg, #2563eb, #3b82f6 );
    color: white;
    font-size: 1rem;
    font-weight: 600;
    transition: .2s;
}

    .btn-create-account:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37,99,235,.35);
    }

/* MENSAJES */
.account-msg {
    text-align: center;
    margin-top: 20px;
    color: #93c5fd;
    font-size: 1rem;
}

/* ===========================
   CREAR ACTIVO
=========================== */

.create-asset-container {
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.create-asset-card {
    width: 540px;
    background: rgba(15,23,42,.92);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(37,99,235,.12);
    backdrop-filter: blur(12px);
}

.create-asset-title {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
}

.asset-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

    .asset-row label {
        color: #d6d6d6;
        margin-bottom: 8px;
        font-weight: 500;
        font-size: 1rem;
    }

    .asset-row input,
    .asset-row select {
        width: 100%;
        padding: 12px;
        background: #0f172a;
        color: white;
        border: 1px solid #334155;
        border-radius: 10px;
        font-size: 1rem;
        transition: .25s;
    }

        .asset-row input:focus,
        .asset-row select:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,.25);
        }

.btn-create-asset {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient( 90deg, #2563eb, #3b82f6 );
    color: white;
    font-weight: 600;
    transition: .2s;
}

    .btn-create-asset:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37,99,235,.35);
    }

.asset-error {
    margin-top: 20px;
    text-align: center;
    color: #ff6b6b;
    font-size: 1rem;
}

/* ===========================
   TABLA CUENTAS - MI PERFIL
=========================== */

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 50px 20px;
}

/* TITULO CUENTAS */

.profile-accounts-title {
    color: white;
    font-size: 1.8rem;
    text-align: center;
    margin: 10px 0;
}

/* TABLA */

.profile-table {
    width: 700px;
    max-width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(15,23,42,.92);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 40px rgba(37,99,235,.08);
}

    /* CABECERA */

    .profile-table th {
        background: #1e293b;
        color: #93c5fd;
        padding: 18px;
        text-align: left;
        font-size: 1.1rem;
    }

    /* CELDAS */

    .profile-table td {
        color: white;
        padding: 18px;
        border-top: 1px solid rgba(255,255,255,.06);
        font-size: 1.05rem;
    }

    /* HOVER */

    .profile-table tr:hover {
        background: rgba(37,99,235,.08);
    }

/* SIN CUENTAS */

.profile-empty {
    color: #d6d6d6;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
}