/* Fondo global suave */
body {
    background: radial-gradient(circle at top left, #ecfeff 0, #f9fafb 35%, #eef2ff 100%);
}

/* HEADER SUPERIOR */
.au-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.au-header .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8, #22c55e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    letter-spacing: 0.03em;
}

.titles .brand {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.titles .app-name {
    font-size: 12px;
    color: #6b7280;
}

.au-header .right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.user-name {
    color: #4b5563;
}

.signout-link {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

/* MAIN */
.au-main {
    max-width: 1120px;
    margin: 24px auto 40px auto;
    padding: 0 20px 20px 20px;
}

/* Welcome */
.welcome-block h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.welcome-block .subtitle {
    color: #6b7280;
    font-size: 14px;
}

/* Ready block */
.ready-block {
    margin-top: 26px;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.ready-text h2 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #111827;
}

.ready-text p {
    font-size: 13px;
    color: #6b7280;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.45);
}

.btn-gradient .plus {
    font-size: 18px;
    margin-bottom: 1px;
}

/* Applications block */
.apps-block {
    margin-top: 32px;
}

.apps-block h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Empty state */
.apps-empty {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    border: 1px dashed rgba(148, 163, 184, 0.5);
    color: #6b7280;
}

.apps-empty .icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.apps-empty .title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

.apps-empty .text {
    font-size: 13px;
}

/* Lista de aplicaciones */
.apps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(209, 213, 219, 0.7);
}

.app-program {
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.app-meta {
    font-size: 12px;
    color: #6b7280;
}

.link-small {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

/* Landing (no logueado) */
.au-landing {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.au-landing-card {
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 26px 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.au-landing-card h1 {
    font-size: 26px;
    margin-bottom: 4px;
}

.au-landing-card .subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 14px;
}

.au-landing-card .text {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 18px;
}

.au-landing-card .actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-primary,
.btn-ghost {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-ghost {
    border: 1px solid #cbd5f5;
    color: #2563eb;
    background: #ffffff;
}
