/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(40, 150, 205, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 150, 205, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 1.5px solid var(--primary-200);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
}

.btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-full {
    width: 100%;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Small Buttons */
.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

/* Danger Button */
.btn-danger {
    background: #EF4444;
    color: #fff;
    border: none;
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-outline.btn-danger {
    background: transparent;
    border: 1px solid #EF4444;
    color: #EF4444;
}

.btn-outline.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Icon Buttons */
.btn-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--admin-input-border);
    border-radius: 8px;
    color: var(--admin-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

/* WhatsApp Button */
.btn-whatsapp,
.btn-whatsapp-tutor,
.btn-icon.btn-whatsapp-student {
    color: #25D366;
}

.btn-whatsapp:hover,
.btn-whatsapp-tutor:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25D366;
}

/* Delete Button Icon */
.btn-icon.btn-delete-tutor,
.btn-icon.btn-delete-student {
    color: #EF4444;
}

.btn-icon.btn-delete-tutor:hover,
.btn-icon.btn-delete-student:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #EF4444;
}

/* Actions Cell */
.actions-cell {
    display: flex;
    gap: 0.5rem;
}