.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-modern {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-modern:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-modern:hover:before {
    left: 100%;
}

/* Primary Button (Link) */
.btn-primary-modern {
    background: linear-gradient(135deg, var(--primaryColor, #007bff) 0%, #0056b3 100%);
    border-color: var(--primaryColor, #007bff);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    text-transform: capitalize;
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    border-color: #0056b3;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.btn-primary-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Secondary Button (Cancel) */
.btn-secondary-modern {
    background: linear-gradient(135deg, #eaebec 0%, #c7d2db 100%);
    border-color: #6c757d;
    color: #495057;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}

.btn-secondary-modern:hover {
    background: #d02f2f;
    border-color: #d02f2f;
    color: white;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.3);
}

.btn-secondary-modern:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

/* Icon styles */
.btn-modern i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        justify-content: center;
        gap: 8px;
    }

    .btn-modern {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 232px;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-modern {
        display: flex;
        max-width: none;
        justify-content: center;
    }
}

/* Loading state */
.btn-modern.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-modern.loading:after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus styles for accessibility */
.btn-modern:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.btn-secondary-modern:focus {
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
}