/* ===============================
   CONTENEDOR GENERAL
================================ */
.tm-training-wrapper {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===============================
   TARJETA FORMULARIO
================================ */
.tm-training-card {
    background: linear-gradient(180deg, #111, #0b0b0b);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

/* ===============================
   TITULO
================================ */
.tm-training-card h2 {
    color: #fff;
    margin-bottom: 28px;
    font-size: 26px;
}

/* ===============================
   GRUPO DE CAMPO
================================ */
.tm-field {
    margin-bottom: 22px;
}

/* ===============================
   LABEL
================================ */
.tm-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: 1px;
    color: #ff8c00;
    text-transform: uppercase;
}

/* ===============================
   INPUTS / SELECTS (FIX CRÍTICO)
================================ */
.tm-field input,
.tm-field select {
    width: 100%;
    height: 52px;                 /* ALTURA CORRECTA */
    padding: 0 16px;              /* SIN padding vertical */
    font-size: 16px;
    line-height: 52px;            /* CLAVE: igual a height */
    border-radius: 12px;
    border: none;
    background: #ffffff;
    color: #000;
    box-sizing: border-box;       /* EVITA CORTES */
}

/* ===============================
   PLACEHOLDER
================================ */
.tm-field input::placeholder {
    color: #999;
}

/* ===============================
   SELECT FIX EXTRA
================================ */
.tm-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #000 50%),
        linear-gradient(135deg, #000 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 22px,
        calc(100% - 15px) 22px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

/* ===============================
   INPUT FILE
================================ */
.tm-field input[type="file"] {
    line-height: normal;
    padding: 12px;
}

/* ===============================
   BOTÓN
================================ */
.tm-submit-btn {
    width: 100%;
    height: 54px;
    margin-top: 16px;
    background: linear-gradient(90deg, #ff8c00, #ff6a00);
    border: none;
    border-radius: 14px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.tm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255,140,0,.4);
}

/* ===============================
   MENSAJE OK
================================ */
.tm-success {
    background: #0b3a22;
    color: #a9f3c4;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #1f7a4d;
}

/* ===============================
   TEXTO INFO
================================ */
.tm-info {
    margin-top: 14px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}
