/* ── Login ── */
.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1923 0%, #1a2d42 40%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(13, 110, 253, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(102, 16, 242, 0.06) 0%, transparent 50%);
}

.login-card {
    width: 100%;
    max-width: 430px;
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.login-card .card-body {
    padding: 2.75rem;
}

.login-logo {
    height: 48px;
    object-fit: contain;
}

/* ── Dashboard ── */
.dashboard-wrapper {
    min-height: 100vh;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 40%, #e8edf4 100%);
}

.dashboard-header {
    background: linear-gradient(90deg, #0f1923, #1a2d42, #1e3a5f);
    color: #fff;
    padding: 0.85rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dashboard-header .brand-logo {
    height: 52px;
    object-fit: contain;
}

.dashboard-header .user-name {
    font-weight: 500;
}

.dashboard-greeting {
    color: #334155;
}

.dashboard-greeting h4 {
    font-weight: 700;
    color: #1e2a3a;
}

.dashboard-greeting p {
    color: #64748b;
}

/* ── App Cards ── */
.app-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2, #0dcaf0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    border-color: #b6d4fe;
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card .card-body {
    padding: 2.25rem 1.75rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 240px;
}

.app-card .app-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e8f0fe, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover .app-icon-wrap {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

.app-card .app-icon-wrap i {
    font-size: 2.2rem;
    color: #0d6efd;
    transition: color 0.3s ease;
}

.app-card:hover .app-icon-wrap i {
    color: #fff;
}

.app-card .app-icon-wrap img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}

.app-card .card-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e2a3a;
    margin-bottom: 0.5rem;
}

.app-card .card-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    flex-grow: 1;
}

.app-card .card-footer-link {
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d6efd;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.app-card:hover .card-footer-link {
    opacity: 1;
    transform: translateY(0);
}

.app-card .card-footer-link i {
    transition: transform 0.2s ease;
}

.app-card:hover .card-footer-link i {
    transform: translateX(3px);
}

/* ── Footer ── */
.dashboard-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #0f1923, #1a2d42, #1e3a5f);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.85rem 0;
    font-size: 0.8rem;
    z-index: 1000;
}

.dashboard-wrapper {
    padding-bottom: 52px;
}
