﻿:root {
    --c-50: #eaf4fa;
    --c-100: #d4e9f5;
    --c-200: #a8d4ec;
    --c-300: #7bbce0;
    --c-400: #4a9dd1;
    --c-500: #2782BD;
    --c-600: #1e6a9e;
    --c-700: #17537a;
    --c-800: #0f3d5c;
    --c-900: #0a2a42;
    --c-950: #061b2c;
    --primary: var(--c-500);
    --primary-dark: var(--c-700);
    --primary-light: var(--c-50);
    --status-validado: #2EA43D;
    --status-proceso: #E48E30;
    --status-rechazado: #C22C11;
    --status-validado-bg: #e8f6ea;
    --status-proceso-bg: #fdf2e4;
    --status-rechazado-bg: #fbe8e4;
    --status-validado-text: #1e6d29;
    --status-proceso-text: #a85f1c;
    --status-rechazado-text: #8e1f0c;
    --bg: #f5f9fc;
    --surface: #ffffff;
    --border: var(--c-100);
    --text: var(--c-900);
    --text-muted: var(--c-700);
    --text-light: var(--c-300);
    --sidebar-bg: var(--c-800);
    --sidebar-hover: var(--c-700);
    --sidebar-active: var(--c-500);
    --sidebar-text: var(--c-200);
    --sidebar-text-active: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(10,42,66,.08), 0 1px 2px rgba(10,42,66,.04);
    --shadow-lg: 0 10px 25px rgba(10,42,66,.15);
    --shadow-hover: 0 8px 20px rgba(10,42,66,.12), 0 2px 6px rgba(10,42,66,.06);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --sidebar-w: 260px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
}

svg {
    display: block;
}
.login-footer{
    display:flex;
    justify-content:space-between;
}
.text-muted {
    color: var(--text-muted);
}

.text-light {
    color: var(--text-light);
}

.text-sm {
    font-size: .875rem;
}

.text-xs {
    font-size: .75rem;
}

.fw-600 {
    font-weight: 600;
}

.mt-1 {
    margin-top: .25rem;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-3 {
    margin-top: .75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: .75rem;
}

.gap-4 {
    gap: 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.grid {
    display: grid;
}

.hidden {
    display: none !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .875rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s var(--ease-out), transform .2s var(--ease-out);
    white-space: nowrap;
    will-change: transform;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(39,130,189,.32);
    }

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

    .btn-secondary:hover {
        background: var(--bg);
        transform: translateY(-1px);
        border-color: var(--c-200);
    }

.btn-success {
    background: var(--status-validado);
    color: #fff;
}

    .btn-success:hover {
        filter: brightness(.94);
        transform: translateY(-1px);
    }

.btn-warning {
    background: var(--status-proceso);
    color: #fff;
}

    .btn-warning:hover {
        filter: brightness(.94);
        transform: translateY(-1px);
    }

.btn-danger {
    background: var(--status-rechazado);
    color: #fff;
}

    .btn-danger:hover {
        filter: brightness(.94);
        transform: translateY(-1px);
    }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

    .btn-ghost:hover {
        background: var(--bg);
        color: var(--text);
    }

.btn-sm {
    padding: .375rem .75rem;
    font-size: .8125rem;
}

.btn-block {
    width: 100%;
}

.btn:active:not(:disabled) {
    transform: translateY(0) scale(.97);
    box-shadow: none;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out);
    text-decoration: none;
}

    .btn-icon:hover {
        background: var(--bg);
        color: var(--text);
        transform: scale(1.06);
    }

.tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
}

.tag-validado {
    background: var(--status-validado-bg);
    color: var(--status-validado-text);
    border-color: var(--status-validado);
}

.tag-rechazado {
    background: var(--status-rechazado-bg);
    color: var(--status-rechazado-text);
    border-color: var(--status-rechazado);
}

.tag-enviado, .tag-revision, .tag-asignado {
    background: var(--status-proceso-bg);
    color: var(--status-proceso-text);
    border-color: var(--status-proceso);
}

.tag-ramo {
    background: var(--c-50);
    color: var(--c-600);
    border-color: var(--c-200);
}

.tag-habilidad {
    background: var(--c-50);
    color: var(--c-700);
    border-color: var(--c-200);
}

.tag-habilidad-ok {
    background: var(--c-100);
    color: var(--c-800);
    border-color: var(--c-400);
}

.alert {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    padding: .875rem 1.25rem;
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    font-size: .875rem;
    font-weight: 500;
    max-width: 360px;
    border-left: 4px solid var(--primary);
    animation: alert-in .35s var(--ease-out), alert-out .3s ease 4s forwards;
}

.alert-success {
    border-left-color: var(--status-validado);
}

.alert-danger {
    border-left-color: var(--status-rechazado);
}

.alert-warning {
    border-left-color: var(--status-proceso);
}

.alert-info {
    border-left-color: var(--primary);
}

@keyframes alert-in {
    from {
        opacity: 0;
        transform: translateX(24px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes alert-out {
    to {
        opacity: 0;
        transform: translateX(24px);
        visibility: hidden;
    }
}

.login-view {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--c-900) 0%, var(--c-700) 60%, var(--c-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 14s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.login-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 460px;
    padding: 2.25rem 2rem;
    animation: card-entrance .5s var(--ease-out) backwards;
    max-height: 94vh;
    overflow-y: auto;
}

@keyframes card-entrance {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

    .login-header h1 {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--text);
    }

    .login-header p {
        color: var(--text-muted);
        font-size: .9375rem;
        margin-top: .25rem;
    }

    .login-header .hack-tag {
        display: inline-block;
        margin-top: .75rem;
        padding: .25rem .75rem;
        background: var(--c-50);
        color: var(--c-700);
        border-radius: 999px;
        font-size: .75rem;
        font-weight: 600;
    }
    .login-header img{
        justify-self:center;
        height:100px;
        width:100px;
        display:flex;
    }

    .demo-note {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border);
    }

.demo-note-title {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-light);
    margin-bottom: .625rem;
}

.demo-credentials {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

    .demo-credentials li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        font-size: .75rem;
        padding: .25rem 0;
    }

    .demo-credentials span {
        color: var(--text-muted);
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .demo-credentials code {
        font-family: 'SF Mono', Menlo, Consolas, monospace;
        font-size: .6875rem;
        color: var(--c-700);
        background: var(--c-50);
        padding: .125rem .375rem;
        border-radius: 4px;
        word-break: break-all;
        text-align: right;
    }

.app-view {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .875rem;
    flex-shrink: 0;
    transition: transform .3s var(--ease-spring);
}

.sidebar-header:hover .sidebar-logo {
    transform: rotate(-6deg) scale(1.05);
}

.sidebar-header strong {
    color: #fff;
    font-size: .9375rem;
    display: block;
}

.sidebar-header small {
    color: var(--sidebar-text);
    font-size: .75rem;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem .75rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    font-size: .875rem;
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease;
    text-align: left;
    width: 100%;
    position: relative;
    text-decoration: none;
}

    .sidebar-nav-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(0);
        width: 3px;
        height: 60%;
        background: #fff;
        border-radius: 0 3px 3px 0;
        transition: transform .3s var(--ease-out);
        transform-origin: center;
    }

    .sidebar-nav-item.active::before {
        transform: translateY(-50%) scaleY(1);
    }

    .sidebar-nav-item:hover {
        background: var(--sidebar-hover);
        color: #fff;
    }

    .sidebar-nav-item.active {
        background: var(--sidebar-active);
        color: #fff;
    }

    .sidebar-nav-item .nav-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .sidebar-nav-item .nav-icon svg {
            width: 20px;
            height: 20px;
        }

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-400);
    color: var(--c-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .75rem;
    flex-shrink: 0;
}

.sidebar-user-info strong {
    color: #fff;
    font-size: .8125rem;
    display: block;
}

.sidebar-user-info small {
    color: var(--sidebar-text);
    font-size: .75rem;
}

.sidebar-footer .btn-ghost {
    color: var(--sidebar-text);
    width: 100%;
    justify-content: flex-start;
    gap: .5rem;
}

    .sidebar-footer .btn-ghost svg {
        width: 16px;
        height: 16px;
    }

    .sidebar-footer .btn-ghost:hover {
        background: var(--sidebar-hover);
        color: #fff;
        transform: none;
    }

.main {
    flex: 1;
    margin-left: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 30;
}

    .main-header h1 {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .main-header p {
        font-size: .8125rem;
    }

.view-content {
    padding: 2rem;
    flex: 1;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
        border-color: var(--c-200);
    }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.0625rem;
    font-weight: 700;
}

.card-subtitle {
    font-size: .8125rem;
    color: var(--text-muted);
    margin-top: .125rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

th {
    text-align: left;
    padding: .75rem 1rem;
    font-weight: 600;
    color: var(--text-muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid var(--border);
}

td {
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    transition: background-color .2s ease;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--bg);
}

.form-group {
    margin-bottom: 1.25rem;
}

    .form-group label {
        display: block;
        font-size: .875rem;
        font-weight: 600;
        margin-bottom: .375rem;
    }

        .form-group label .required {
            color: var(--status-rechazado);
        }

.form-control {
    width: 100%;
    padding: .625rem .875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .form-control:hover {
        border-color: var(--c-200);
    }

    .form-control:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px var(--c-100);
    }

    .form-control::placeholder {
        color: var(--text-light);
    }

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.form-hint {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field-validation-error {
    color: var(--status-rechazado);
    font-size: .75rem;
    margin-top: .25rem;
    display: block;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color .2s ease, background-color .2s ease;
}

    .checklist-item:hover {
        border-color: var(--c-200);
        background: var(--c-50);
    }

    .checklist-item label {
        display: flex;
        align-items: center;
        gap: .75rem;
        cursor: pointer;
        font-weight: 500;
    }

    .checklist-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--c-700);
        cursor: pointer;
    }

.modal-target {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

    .modal-target:target {
        display: flex;
    }

    .modal-target .modal-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(10,42,66,.6);
        backdrop-filter: blur(2px);
        animation: backdrop-in .3s ease;
        cursor: pointer;
    }

    .modal-target .modal-panel {
        position: relative;
        background: var(--surface);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        max-width: 560px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        animation: modal-in .35s var(--ease-out);
    }

    .modal-target .modal-panel-lg {
        max-width: 720px;
    }

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(.94) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes backdrop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    padding: 1.5rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

    .modal-header h2 {
        font-size: 1.125rem;
        font-weight: 700;
    }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.carta {
    background: #fff;
    padding: 2.5rem;
    font-family: 'Times New Roman', serif;
    color: var(--c-900);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
}

.carta-header {
    text-align: center;
    border-bottom: 3px double var(--primary);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

    .carta-header h2 {
        font-size: 1.25rem;
        color: var(--c-700);
        letter-spacing: .05em;
    }

    .carta-header p {
        font-size: .875rem;
        color: var(--text-muted);
    }

.carta-body {
    font-size: .9375rem;
}

    .carta-body p {
        margin-bottom: 1rem;
        text-align: justify;
    }

.carta-meta {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--c-50);
    border-radius: var(--radius-sm);
    font-size: .875rem;
}

    .carta-meta dl {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: .375rem 1rem;
    }

    .carta-meta dt {
        font-weight: 600;
        color: var(--text-muted);
    }

.carta-habilidades {
    margin: 1.5rem 0;
}

    .carta-habilidades h3 {
        font-size: .9375rem;
        margin-bottom: .75rem;
        color: var(--c-700);
    }

    .carta-habilidades ul {
        list-style: none;
    }

    .carta-habilidades li {
        padding: .375rem 0;
        border-bottom: 1px dotted var(--border);
        display: flex;
        justify-content: space-between;
    }

.carta-firma {
    margin-top: 3rem;
    text-align: center;
}

.carta-firma-line {
    width: 250px;
    border-top: 1px solid var(--c-900);
    margin: 0 auto .5rem;
}

.carta-firma p {
    font-size: .8125rem;
}

.carta-id {
    text-align: center;
    margin-top: 2rem;
    font-size: .75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.evidencia-box {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    background: var(--c-50);
    border-radius: 8px;
}

    .evidencia-box svg {
        width: 20px;
        height: 20px;
        color: var(--c-600);
        flex-shrink: 0;
    }

.improvement-card {
    position: relative;
    overflow: hidden;
}

    .improvement-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--c-500);
    }

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main {
        margin-left: 0;
    }

    .main-header {
        padding: 1rem;
    }

    .view-content {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: #fff;
        padding: 0 !important;
    }

    .carta {
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ===== LOGO ===== */
.sidebar-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: white;
    padding: 4px;
    display: block;
}

.login-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto .75rem;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .app-view {
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: .75rem 1rem;
        overflow-x: auto;
    }

    .sidebar-header {
        flex-shrink: 0;
        margin: 0;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        gap: .25rem;
        flex: 1;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .sidebar-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sidebar-footer {
        display: none;
    }

    .main {
        margin-left: 0;
        width: 100%;
    }

    .main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .view-content {
        padding: 1.25rem 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-panel,
    .modal-panel-lg {
        width: calc(100% - 1.5rem);
        max-width: none;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 15px;
    }

    .login-card {
        padding: 1.5rem 1.25rem;
    }

    .login-logo {
        width: 64px;
        height: 64px;
    }

    .main-header h1 {
        font-size: 1.25rem;
    }

    .card {
        padding: 1rem;
    }

    .btn {
        padding: .5rem 1rem;
    }

    .sidebar-logo-img {
        width: 32px;
        height: 32px;
    }
}
