/* Modern Button Styles for Video Pages */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    overflow: visible;
}

.btn-modern svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.btn-modern-primary {
    background-color: #ffffff;
    color: #41403e;
    border-color: #d0d0d0;
}

.btn-modern-primary:hover {
    background-color: #f8f8f8;
    border-color: #b0b0b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-modern-primary:active {
    background-color: #e8e8e8;
    border-color: #a0a0a0;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-modern-secondary {
    background-color: #ffffff;
    color: #41403e;
    border-color: #d0d0d0;
}

.btn-modern-secondary:hover {
    background-color: #f8f8f8;
    border-color: #b0b0b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-modern-secondary:active {
    background-color: #e8e8e8;
    border-color: #a0a0a0;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-modern:disabled {
    opacity: 1;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-modern:disabled:not([style*="background"]) {
    opacity: 0.6;
}

.btn-modern[style*="linear-gradient"] {
    color: #000000;
    transition: background 0.3s ease;
}

/* Responsive button sizes */
@media all and (max-width: 515px) {
    .btn-modern {
        font-size: 0.9rem;
        padding: 0.5rem 0.875rem;
    }
    .btn-modern svg {
        margin-right: 5px;
    }
}

@media all and (max-width: 475px) {
    .btn-modern {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    .btn-modern svg {
        margin-right: 4px;
    }
}

@media all and (max-width: 435px) {
    .btn-modern {
        font-size: 0.8rem;
        padding: 0.45rem 0.625rem;
    }
    .btn-modern svg {
        margin-right: 4px;
    }
}
