.test-docreader-home-main {
    position: relative;
    padding-top: 20px;
    padding-bottom: 40px;
    min-height: calc(100vh - 160px);
}

@media (max-width: 768px) {
    .test-docreader-home-main {
        min-height: auto;
    }
}

.home-page-actions {
    position: absolute;
    top: 12px;
    right: 30px;
    z-index: 101;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.container {
    text-align: center;
    margin-top: 30px;
}

.heading {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.home-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.transactions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1f2933;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s cubic-bezier(0.2, 0, 0.2, 1), color 0.2s ease;
    user-select: none;
}

.transactions-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    border-color: #94a3b8;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(0,0,0,0.04);
    transform: translateY(-2px) scale(1.02);
}

.transactions-link:active {
    transform: translateY(1px) scale(0.97);
    background: #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1) inset;
    transition: transform 0.06s ease, background 0.06s ease, box-shadow 0.06s ease;
}

@media (max-width: 900px) {
    .home-page-actions {
        position: static;
        justify-content: center;
        margin: 10px 0 0 0;
    }
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    width: 280px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 5px;
    user-select: none;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.card:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.06s ease, box-shadow 0.06s ease;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.secondary-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.secondary-links a {
    color: #0066cc;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.secondary-links a:hover {
    color: #004499;
    text-decoration: underline;
}

.link-separator {
    color: #94a3b8;
    font-size: 16px;
    user-select: none;
}
