/* Button Component - BEM Naming */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Readex Pro', sans-serif;
}

/* Button Variants */
.btn--primary {
    background: var(--yellow);
    color: var(--dark-blue);
}

.btn--primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 231, 66, 0.4);
}

.btn--secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn--secondary:hover {
    background: white;
    color: var(--dark-blue);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--medium-blue);
    color: var(--medium-blue);
}

.btn--outline:hover {
    background: var(--medium-blue);
    color: white;
}

/* Button Sizes */
.btn--sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn--md {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 12px;
}

/* Button States */
.btn:disabled,
.btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn--loading {
    position: relative;
    color: transparent;
}

.btn--loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

