/* Custom Button Styles */
.custom-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Size variations */
.custom-button.small {
    padding: 8px 16px;
    font-size: 14px;
}

.custom-button.medium {
    padding: 10px 20px;
    font-size: 16px;
}

.custom-button.large {
    padding: 12px 24px;
    font-size: 18px;
}

/* Hover effects */
.custom-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Focus and active states */
.custom-button:focus {
    outline: 3px solid rgba(0, 123, 255, 0.3);
    outline-offset: 2px;
}

.custom-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Disabled state */
.custom-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .custom-button.large {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .custom-button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .custom-button {
        transition: none;
    }

    .custom-button:hover {
        transform: none;
    }
}