body {
    font-family: "arial";
    margin: 0;
    background: #f3f5f9;
    color: #1d2a38;
}

:root {
    --accent: #ff9d0b;
    --accent-soft: #fff2dd;
    --accent-strong: #cf7a00;
    --text-primary: #1d2a38;
    --text-secondary: #5a6a7d;
    --surface: #ffffff;
    --surface-muted: #f8f9fc;
    --border-soft: #e7ebf3;
    --shadow-soft: 0 20px 40px rgba(22, 35, 57, 0.08);
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
}

.app-rail {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 12px 10px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 8px;
    border-radius: 8px;
}

.app-logo-full {
    width: 180px;
    height: auto;
}

.app-logo-icon {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
}

.app-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-rail-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border-soft);
}

.app-rail-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #ffd6a2;
    background: var(--accent-soft);
    color: #7b4600;
    border-radius: 8px;
    min-height: 34px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.app-rail-toggle:hover {
    background: #ffe7c3;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.app-nav-link i {
    font-size: 1.1rem;
}

.app-nav-link:hover {
    color: var(--text-primary);
    background: #fafbfd;
    border-color: var(--border-soft);
}

.app-nav-link.is-active,
.app-nav-link-admin {
    color: #7b4600;
    background: var(--accent-soft);
    border-color: #ffd6a2;
}

.app-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-shell.is-rail-collapsed {
    grid-template-columns: 88px minmax(0, 1fr);
}

.app-shell.is-rail-collapsed .app-logo {
    height: 52px;
    justify-content: center;
    padding: 0;
}

.app-shell.is-rail-collapsed .app-logo-full {
    display: none;
}

.app-shell.is-rail-collapsed .app-logo-icon {
    display: block;
}

.app-shell.is-rail-collapsed .app-nav-link,
.app-shell.is-rail-collapsed .app-nav-link-admin,
.app-shell.is-rail-collapsed .app-rail-toggle {
    justify-content: center;
    padding: 8px;
}

.app-shell.is-rail-collapsed .app-rail-toggle {
    min-height: 42px;
}

.app-shell.is-rail-collapsed .app-rail-toggle i {
    font-size: 1.05rem;
}

.app-shell.is-rail-collapsed .app-nav-link span,
.app-shell.is-rail-collapsed .app-nav-link-admin span,
.app-shell.is-rail-collapsed .rail-toggle-label {
    display: none;
}

.app-topbar {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    min-height: 60px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: var(--shadow-soft);
}

.app-company img {
    max-height: 38px;
    width: auto;
    display: block;
}

.app-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.app-layout-title {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #ffd6a2;
    background: var(--accent-soft);
    color: #7b4600;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-user {
    padding: 6px 10px;
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
}

.app-logout-button {
    border: 0;
    border-radius: 8px;
    min-height: 34px;
    padding-left: 14px;
    padding-right: 14px;
}

.app-page-content {
    min-width: 0;
}

.app-content-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 12px;
    margin-bottom: 12px;
}

.order-modal-page {
    margin: 0;
    padding: 10px;
    background: #f3f5f9;
}

.order-modal-card {
    margin-bottom: 0;
}

.order-modal-header {
    margin-bottom: 8px;
}

.order-modal-header .title {
    margin-bottom: 0;
}

.order-modal-footer {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.app-list-page > .title,
.app-form-card > .title,
.app-form-card .title.is-3,
.app-form-card .title.is-4 {
    color: var(--text-primary) !important;
}

.app-table,
.app-content-card .table,
.app-content-card .dataTable-table {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    overflow: hidden;
}

.app-form-card .tabs.is-boxed li a {
    border-color: var(--border-soft);
    color: var(--text-secondary);
    border-radius: 8px 8px 0 0;
}

.app-form-card .tabs.is-boxed li.is-active a {
    background: var(--accent-soft);
    border-color: #ffd6a2;
    color: #7b4600;
}

.client-tabs {
    position: relative;
}

.client-tabs-back {
    display: none;
    border: 1px solid #ffd6a2;
    background: var(--accent-soft);
    color: #7b4600;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
}

.client-tabs-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.client-tabs-back i {
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .client-tabs {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .client-tabs-back {
        display: inline-flex;
    }

    .client-tabs ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        margin: 0;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .client-tabs ul li {
        flex: 0 0 auto;
    }

    .client-tabs.tabs.is-boxed li a {
        border-radius: 8px;
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .client-tabs .icon.is-small {
        margin-right: 4px;
    }
}

.app-form-card .input,
.app-form-card .textarea,
.app-form-card .select select,
.app-content-card select,
.app-content-card textarea {
    border-color: #d9e0eb;
    border-radius: 8px;
    box-shadow: none;
}

.app-form-card .input:focus,
.app-form-card .textarea:focus,
.app-form-card .select select:focus,
.app-content-card select:focus,
.app-content-card textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.1rem rgba(255, 157, 11, 0.16);
}

.app-form-card .label,
.app-content-card .label {
    color: #425466;
    font-size: 0.9rem;
}

.app-form-card .help,
.app-content-card .help {
    color: #708091;
}

.app-form-card .columns.is-10 {
    width: 100%;
    margin: 0;
}

.app-form-card .column.is-offset-1 {
    margin-left: 0;
    width: 100%;
}

.app-form-card textarea {
    width: 100%;
}

#ltPedidos,
#ltHistoria {
    display: grid;
    gap: 10px;
}

.client-flow-card {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}

.client-flow-card:hover {
    border-color: #ffd6a2;
    box-shadow: 0 8px 20px rgba(22, 35, 57, 0.08);
}

.client-flow-empty {
    text-align: center;
    color: var(--text-secondary);
}

.client-flow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.client-flow-head h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.client-flow-head-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.client-flow-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--accent-soft);
    color: #7b4600;
}

.client-flow-badge.is-pending {
    background: #ffe7cc;
    color: #b35f00;
}

.client-flow-badge.is-delivered {
    background: #e5f5eb;
    color: #2f8a5b;
}

.client-flow-subtitle {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.client-flow-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.client-flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.client-flow-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #edf1f7;
    padding-bottom: 4px;
}

.client-flow-key {
    font-size: 0.82rem;
    color: #4a5b6f;
    font-weight: 600;
}

.client-flow-value {
    font-size: 0.82rem;
    color: #25374a;
    text-align: right;
}

.app-content-card .button.is-primary,
.app-content-card .button.is-warning,
.app-content-card .button.is-danger,
.app-content-card .button.is-info {
    border: 0;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
}

.app-content-card .button.is-primary:hover,
.app-content-card .button.is-warning:hover,
.app-content-card .button.is-danger:hover,
.app-content-card .button.is-info:hover {
    background: var(--accent-strong);
}

.dash-page {
    display: grid;
    gap: 12px;
}

.dash-kpi-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.dash-kpi-card {
    padding: 12px;
}

.dash-kpi-day {
    background: var(--surface);
}

.dash-kpi-label {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dash-kpi-month {
    margin: 8px 0 0;
    color: var(--accent-strong);
    font-size: 0.9rem;
    font-weight: 700;
}

.dash-kpi-meta {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.dash-kpi-value {
    margin: 8px 0 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.dash-chart-card,
.dash-table-card {
    padding: 12px;
}

.dash-card-head h2 {
    margin: 0;
    font-size: 1.08rem;
    color: var(--text-primary);
}

.dash-card-head p {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.dash-chart-wrap {
    margin-top: 10px;
    height: 230px;
}

.dash-table-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dash-table-wide {
    grid-column: span 2;
}

.dash-table-wrap {
    margin-top: 8px;
    overflow-x: auto;
}

.dash-table {
    min-width: 520px;
    border-collapse: separate;
    border-spacing: 0;
}

.dash-table th {
    color: #7b4600 !important;
    background: var(--accent-soft);
    border-bottom: 1px solid #ffd6a2;
}

.dash-table th,
.dash-table td {
    padding: 7px 8px;
    font-size: 0.8rem;
    border-bottom: 1px solid #edf1f7;
}

@media (min-width: 1081px) {
    .dash-page {
        height: calc(100vh - 98px);
        overflow: hidden;
        grid-template-rows: auto auto minmax(0, 1fr);
    }

    .dash-table-grid {
        min-height: 0;
    }

    .dash-table-card {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .dash-table-wrap {
        flex: 1 1 auto;
        overflow: auto;
    }

    .app-list-page {
        max-height: calc(100vh - 108px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .app-list-page .dataTable-wrapper,
    .app-list-page .table {
        min-height: 0;
        flex: 1 1 auto;
    }

    .app-list-page .dataTable-container {
        max-height: calc(100vh - 236px);
        overflow: auto;
    }
}

.dash-table tbody tr:hover td {
    background: #fffaf1;
}

#menu-mobile {
    display: none;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 999;
    background: #121d2e;
    border-radius: 12px;
    padding: 8px;
    justify-content: space-between;
    gap: 4px;
    box-shadow: 0 10px 24px rgba(8, 12, 20, 0.35);
}

#menu-mobile a {
    color: #f5f7fb;
    font-size: 0.73rem;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 64px;
    min-height: 44px;
}

#menu-mobile a i {
    font-size: 1rem;
}

#menu-mobile a.is-active {
    background: rgba(255, 157, 11, 0.28);
    color: #ffd9a0;
}

#menu-mobile a:hover {
    background: rgba(255, 157, 11, 0.22);
}

@media (max-width: 1080px) {
    .app-shell {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .app-logo {
        height: 42px;
        justify-content: center;
        padding: 0;
    }

    .app-logo-full {
        display: none;
    }

    .app-logo-icon {
        display: block;
        width: 36px;
        height: 36px;
    }

    .app-nav-link span {
        display: none;
    }

    .app-nav-link,
    .app-nav-link-admin {
        justify-content: center;
        padding: 8px;
    }

    .dash-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-kpi-day {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) and (orientation: portrait) {
    .app-shell,
    .app-shell.is-rail-collapsed {
        grid-template-columns: 1fr;
        padding: 10px;
        padding-bottom: 92px;
        gap: 10px;
    }

    .app-rail {
        display: none;
    }

    .app-main,
    .app-page-content,
    .dash-page {
        width: 100%;
    }

    .app-topbar {
        border-radius: 14px;
        padding: 10px 12px;
        min-height: 62px;
    }

    .app-layout-title {
        display: none;
    }

    .app-company img {
        max-height: 30px;
    }

    .app-user {
        max-width: 60vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dash-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-kpi-day {
        grid-column: span 2;
    }

    .dash-table-grid {
        grid-template-columns: 1fr;
    }

    .dash-table-wide {
        grid-column: auto;
    }

    .dash-chart-wrap {
        height: 260px;
    }

    #menu-mobile {
        display: flex !important;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
    .app-shell {
        grid-template-columns: 1fr;
        padding: 10px;
        padding-bottom: 92px;
    }

    .app-rail {
        display: none;
    }

    .app-topbar {
        border-radius: 14px;
        padding: 10px 12px;
        min-height: 62px;
    }

    .app-layout-title {
        display: none;
    }

    .app-company img {
        max-height: 30px;
    }

    .app-user {
        max-width: 54vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dash-kpi-card,
    .dash-chart-card,
    .dash-table-card {
        border-radius: 14px;
        padding: 12px;
    }

    .dash-kpi-grid,
    .dash-table-grid {
        grid-template-columns: 1fr;
    }

    .dash-kpi-day,
    .dash-table-wide {
        grid-column: auto;
    }

    .dash-chart-wrap {
        height: 240px;
    }

    #menu-mobile {
        display: flex !important;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
    }

    .app-content-card {
        padding: 10px;
        border-radius: 12px;
    }

    .client-flow-columns {
        grid-template-columns: 1fr;
    }

    .client-flow-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .client-flow-value {
        text-align: left;
    }
}

#user .user-name {
    font-weight: 600;
}

#user .demo-remaining {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #425466;
    background: #eef2f6;
    border-radius: 999px;
    vertical-align: middle;
}

.app-version-footer {
    position: fixed;
    right: 12px;
    bottom: 8px;
    font-size: 0.72rem;
    color: #6b7280;
    z-index: 20;
}
/*--- login -------------*/
.forgotPass,
.forgotPass a,
.forgotPass a:visited {
    color: #2a1708;
    margin-left: 70%;
    font-weight: 600;
}
#recoverTitle {
    font-size: 1.2rem !important;
    color: #2a1708 !important;
}
/*-----------------------*/
#head {
    font-family: "Tangerine", cursive;
    color: #ff9d0b;
    font-size: 4.4em !important;
    font-weight: bolder;
    text-align: center;
    padding-top: 10vh;
}
.button.is-orange {
    background-color: #ff9d0b;
    color: #ffe;
    font-weight: 500;
}
.subtitle.is-orange {
    color: #ff9d0b;
}
.bigOne {
    font-size: 4em;
    font-weight: 600;
}
.centro {
    text-align: center;
}
.tableDash th td {
    color: #fff !important;
}
.GreenTable th {
    background-color: #458a6b;
    color: #fff !important;
}
table {
    width: 100%;
}
.RedTable th {
    background-color: #7e2d3d;
    color: #fff !important;
}
.TeilTitle {
    color: #00d1b2 !important;
    font-size: 1.75rem !important;
    margin-left: 14px;
}
.lined {
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.helper-module {
    border: 1px solid #e7ebf3;
    border-radius: 14px;
    padding: 10px;
    background: #fbfcff;
}

.helper-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e3e8f1;
}

.helper-tab {
    border: 1px solid #dbe2ee;
    background: #fff;
    color: #4f6076;
    border-radius: 9px;
    min-height: 34px;
    padding: 0 12px;
    font-weight: 600;
    cursor: pointer;
}

.helper-tab.is-active {
    background: #fff2dd;
    border-color: #ffd6a2;
    color: #7b4600;
}

.helper-pane {
    display: none;
}

.helper-pane.is-active {
    display: block;
}

.helper-pane-options {
    display: none;
    gap: 8px;
    flex-wrap: wrap;
}

.helper-pane-options.is-active {
    display: flex;
}

.helper-pill {
    border: 1px solid #dbe2ee;
    background: #fff;
    color: #2c3e52;
    border-radius: 999px;
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.86rem;
    cursor: pointer;
}

.helper-pill:hover,
.helper-card:hover {
    border-color: #ffc26c;
    box-shadow: 0 6px 16px rgba(20, 31, 49, 0.08);
}

.helper-card {
    width: 100%;
    border: 1px solid #dbe2ee;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    margin-bottom: 8px;
}

.helper-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.helper-card-copy {
    margin: 0;
    font-size: 0.86rem;
    color: #586a80;
    line-height: 1.45;
}

.helper-card-badge {
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid #ffd6a2;
    background: #fff2dd;
    color: #7b4600;
    border-radius: 999px;
    padding: 2px 8px;
}

.helper-empty {
    margin: 0;
    font-size: 0.88rem;
    color: #708091;
}

#saco {
    width: 100%;
    min-height: 260px;
    border-radius: 12px;
    border-color: #d9e0eb;
    padding: 10px;
}

#pantalon,
#camisa,
#otra {
    width: 100%;
    min-height: 260px;
    border-radius: 12px;
    border-color: #d9e0eb;
    padding: 10px;
}

#saco.helper-text-inline {
    min-height: 140px;
    margin-bottom: 2px;
}

#pantalon.helper-text-inline,
#camisa.helper-text-inline,
#otra.helper-text-inline {
    min-height: 140px;
    margin-bottom: 2px;
}

#sacoTextDockSide {
    height: 100%;
}

#pantalonTextDockSide,
#camisaTextDockSide,
#otraTextDockSide {
    height: 100%;
}

#opcionesPantalon.helper-pane-options,
#opcionesCamisa.helper-pane-options,
#opcionesOtra.helper-pane-options {
    border-left: 0;
    padding-left: 0;
}

.order-dates-row {
    align-items: flex-end;
}

.order-date-col .input[type="date"] {
    min-height: 42px;
}

@media (max-width: 1024px) {
    .order-dates-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
    }

    .order-date-col {
        width: auto;
        padding: 0;
    }

    .order-date-col .input[type="date"] {
        font-size: 16px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .order-dates-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

#opcionesCamisa {
    border-left-color: #01d2b3;
    border-left-style: solid;
}
#opcionesCamisa ul {
    list-style: none;
    padding-left: 33px;
}

#opcionesPantalon {
    border-left-color: #01d2b3;
    border-left-style: solid;
}
#opcionesPantalon ul {
    list-style: none;
    padding-left: 33px;
}
#opcionesOtra {
    border-left-color: #01d2b3;
    border-left-style: solid;
}
#opcionesOtra ul {
    list-style: none;
    padding-left: 33px;
}
.bases {
    display: inline-block !important;
}
.alert {
    color: #ff3300;
}

/******arrow**************/
#diagram {
    display: flex;
    align-items: center;
}

.arrow {
    width: 120px;
}

.lineArrow {
    margin-top: 14px;
    width: 90px;
    background: blue;
    height: 10px;
    float: left;
}

.pointArrow {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid blue;
    float: right;
}
/*****Issues*************/
#formIssue {
    margin-left: 1%;
    line-height: 2em;
    font-size: 1.1em;
}
#issue {
    padding: 15px;
}

/******loading***********/
.modal-wheel {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
}

.wheel {
    width: 3.8em;
    height: 3.8em;
    position: fixed;
    top: 45vh;
    left: 50vw;
    margin-top: -1.9em;
    margin-left: -1.9em;
    border: 0.65em solid transparent;
    border-top-color: #46b8da;
    border-radius: 50%;
    transition: 0.2s ease all;
    animation: spin 1000ms infinite linear;
    -o-animation: spin 1000ms infinite linear;
    -ms-animation: spin 1000ms infinite linear;
    -webkit-animation: spin 1000ms infinite linear;
    -moz-animation: spin 1000ms infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-o-keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-ms-keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.bg-img {
    height: 100vh;
    background-image: url("../img/fondoForm.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #999;
}

.login-panel {
    background-color: rgba(177, 191, 191, 0.38);
    margin-top: 7vh;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 16px 34px rgba(21, 28, 39, 0.22);
}

@media (min-width: 700px) and (max-width: 1024px) and (orientation: portrait) {
    .bg-img {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #head {
        padding-top: 8vh;
    }

    .bg-img .columns {
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        padding: 0 24px;
    }

    .bg-img .login-panel {
        width: 100%;
        max-width: 520px;
        margin-top: 5vh;
        margin-left: auto;
        margin-right: auto;
        padding: 22px 24px;
    }

    .bg-img .forgotPass,
    .bg-img .forgotPass a,
    .bg-img .forgotPass a:visited {
        margin-left: 0;
        display: inline-flex;
        justify-content: flex-end;
        width: 100%;
    }
}

/*tablets*/
@media (max-width: 768px) and (orientation: landscape) {
    .title {
        font-size: 1.5rem !important;
        font-weight: 400;
    }
    .bigOne {
        font-size: 2em;
        font-weight: 400;
    }
}
