.scan-icon {
    position: absolute;
    left: 0.45rem;
    top: 0.12rem;
    font-size: 1.5rem;
    color: #6b7280;
    pointer-events: none;
}

.scan-input {
    padding-left: 2.5rem;
    width: 100%;
}

@media (min-width: 992px) {
    .scan-input {
        width: clamp(350px, 40vw, 500px);
    }
}

/* main page */
.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 1.1rem 0 2rem;
}

@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 150px;
    justify-content: center;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.action-icon {
    font-size: 2.5rem;
}

.action-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.action-badge {
    background: #e5e7eb;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.secondary-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding-bottom: 2rem;
}

@media (max-width: 992px) {
    .secondary-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.secondary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid transparent;
}

.secondary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.secondary-icon {
    font-size: 2rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.secondary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .secondary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .secondary-card {
        padding: 0.9rem;
    }

    .secondary-card .secondary-icon {
        font-size: 1.5rem;
    }

    .secondary-card .secondary-title {
        font-size: 1rem;
    }
}